Skip to content

Commit 7aad616

Browse files
[build]: Enable reproducible build for git docker (sonic-net#8331)
1 parent fa23927 commit 7aad616

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.azure-pipelines/docker-sonic-slave.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ parameters:
4545
variables:
4646
- ${{ if and(startsWith(variables['Build.SourceBranchName'], '202'), eq(length(variables['Build.SourceBranchName']), 6)) }}:
4747
- name: BUILD_OPTIONS
48-
value: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web'
48+
value: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker'
4949

5050
stages:
5151
- stage: Build

.azure-pipelines/official-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ stages:
2121
variables:
2222
CACHE_MODE: wcache
2323
${{ if eq(variables['Build.SourceBranchName'], '202012') }}:
24-
VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web'
24+
VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker'
2525
jobs:
2626
- template: azure-pipelines-build.yml
2727
parameters:

0 commit comments

Comments
 (0)