[build]: Enable reproducible build for git docker (#8331)
This commit is contained in:
parent
fa239270c1
commit
7aad616832
@ -45,7 +45,7 @@ parameters:
|
||||
variables:
|
||||
- ${{ if and(startsWith(variables['Build.SourceBranchName'], '202'), eq(length(variables['Build.SourceBranchName']), 6)) }}:
|
||||
- name: BUILD_OPTIONS
|
||||
value: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web'
|
||||
value: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker'
|
||||
|
||||
stages:
|
||||
- stage: Build
|
||||
|
@ -21,7 +21,7 @@ stages:
|
||||
variables:
|
||||
CACHE_MODE: wcache
|
||||
${{ if eq(variables['Build.SourceBranchName'], '202012') }}:
|
||||
VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web'
|
||||
VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker'
|
||||
jobs:
|
||||
- template: azure-pipelines-build.yml
|
||||
parameters:
|
||||
|
Reference in New Issue
Block a user