Skip to content

Commit fdc112e

Browse files
author
Sheyla Trudo
committed
fixup! Separate Build Changes
1 parent e8afcd8 commit fdc112e

File tree

3 files changed

+14
-21
lines changed

3 files changed

+14
-21
lines changed

.pipelines/containers/container-template.jobs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
targetOs: ${{ parameters.os }}
8484
targetArch: ${{ parameters.arch }}
8585
targetPlatform: "${{ parameters.os }}/${{ parameters.arch }}"
86-
addBuildArgs:
86+
addBuildArgs: $(EXTRA_BUILD_ARGS_${{ image }}_${{ parameters.os }}_${{ parameters.arch }})
8787
${{ if eq(variables.Agent.OSArchitecture, 'ARM') }}:
8888
buildArch: arm64
8989

.pipelines/containers/container-template.steps.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@ parameters:
5151

5252

5353
steps:
54-
# path: $(Build.SourcesDirectory)
55-
# buildArguments: --platform "${{ parameters.targetPlatform }}" --build-arg ARCH="${{ parameters.buildArch }}" --build-arg OS="${{ parameters.buildOs }}" --build-arg VERSION="$(IMAGE_PLATFORM_TAG_${{ parameters.name }})" --target "${{ parameters.os }}" $(EXTRA_BUILD_ARGS_${{ parameters.name }})
56-
# enableNetwork: true
57-
# enablePull: false
58-
# enableCache: true
59-
# useBuildKit: true
60-
6154
- task: 1ES.BuildContainerImage@1
6255
retryCountOnTaskFailure: 3
6356
inputs:

.pipelines/trigger.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ resources:
3232
variables:
3333
# Local analysis is only enabled on PR branches
3434
Codeql.AnalyzeInPipeline: $[startsWith(variables['Build.SourceBranch'], 'refs/pull/')]
35-
Codeql.ADO.Build.Repository.Uri: $(Build.Repository.Uri)
36-
Codeql.ADO.Build.Repository.Name: $(Build.Repository.Name)
37-
Codeql.ADO.Build.SourceVersion: $(Build.SourceVersion)
38-
Codeql.ADO.Build.DefinitionName: $(Build.DefinitionName)
39-
Codeql.ADO.Build.BuildId: $(Build.BuildId)
40-
Codeql.ADO.System.CollectionUri: $(System.CollectionUri)
41-
Codeql.ADO.System.TeamProject: $(System.TeamProject)
42-
Codeql.ADO.System.JobId: $(System.JobId)
43-
Codeql.ADO.Build.Repository.LocalPath: $(Build.Repository.LocalPath)
44-
Codeql.ADO.Build.SourceBranch: $(Build.SourceBranch)
45-
Codeql.ADO.Build.Repository.Provider: $(Build.Repository.Provider)
46-
Codeql.ADO.Build.SourceBranchName: $(Build.SourceBranchName)
47-
Codeql.ADO.Build.SourcesDirectory: $(Build.SourcesDirectory)
35+
# Codeql.ADO.Build.Repository.Uri: $(Build.Repository.Uri)
36+
# Codeql.ADO.Build.Repository.Name: $(Build.Repository.Name)
37+
# Codeql.ADO.Build.SourceVersion: $(Build.SourceVersion)
38+
# Codeql.ADO.Build.DefinitionName: $(Build.DefinitionName)
39+
# Codeql.ADO.Build.BuildId: $(Build.BuildId)
40+
# Codeql.ADO.System.CollectionUri: $(System.CollectionUri)
41+
# Codeql.ADO.System.TeamProject: $(System.TeamProject)
42+
# Codeql.ADO.System.JobId: $(System.JobId)
43+
# Codeql.ADO.Build.Repository.LocalPath: $(Build.Repository.LocalPath)
44+
# Codeql.ADO.Build.SourceBranch: $(Build.SourceBranch)
45+
# Codeql.ADO.Build.Repository.Provider: $(Build.Repository.Provider)
46+
# Codeql.ADO.Build.SourceBranchName: $(Build.SourceBranchName)
47+
# Codeql.ADO.Build.SourcesDirectory: $(Build.SourcesDirectory)
4848

4949

5050
extends:

0 commit comments

Comments
 (0)