Skip to content

Commit

Permalink
Remove pipeline changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lbussell committed May 17, 2024
1 parent 1b3145b commit 782faf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions eng/common/templates/jobs/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
New-Item -Path $(imageInfoHostDir) -ItemType Directory -Force
$imageBuilderBuildArgs = "$env:IMAGEBUILDERBUILDARGS $(imageBuilder.queueArgs) --image-info-output-path $(imageInfoContainerDir)/$(legName)-image-info.json"
if ($env:SYSTEM_TEAMPROJECT -eq "${{ parameters.internalProjectName }}" -and $env:BUILD_REASON -ne "PullRequest") {
$imageBuilderBuildArgs = "$imageBuilderBuildArgs --registry-override $(acr.server) --repo-prefix $(stagingRepoPrefix) --source-repo-prefix $(mirrorRepoPrefix) --push"
$imageBuilderBuildArgs = "$imageBuilderBuildArgs --registry-override $(acr.server) --repo-prefix $(stagingRepoPrefix) --source-repo-prefix $(mirrorRepoPrefix) --push --registry-creds ""$(acr.server)=$(acr.userName);$(acr.password)"""
}
# If the pipeline isn't configured to disable the cache and a build variable hasn't been set to disable the cache
Expand Down Expand Up @@ -126,7 +126,9 @@ jobs:
--digests-out-var 'builtImages'
--acr-subscription '$(acr.subscription)'
--acr-resource-group '$(acr.resourceGroup)'
--tenant $env:tenantId
--acr-client-id '$(acr.servicePrincipalName)'
--acr-password '$(acr.servicePrincipalPassword)'
--acr-tenant '$(acr.servicePrincipalTenant)'
$(manifestVariables)
$(imageBuilderBuildArgs)
- template: /eng/common/templates/steps/publish-artifact.yml@self
Expand Down
2 changes: 1 addition & 1 deletion eng/common/templates/variables/docker-images.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variables:
imageNames.imageBuilderName: dotnetdockerdev.azurecr.io/dotnet-buildtools/image-builder:build-test
imageNames.imageBuilderName: mcr.microsoft.com/dotnet-buildtools/image-builder:2452182
imageNames.imageBuilder: $(imageNames.imageBuilderName)
imageNames.imageBuilder.withrepo: imagebuilder-withrepo:$(Build.BuildId)-$(System.JobId)
imageNames.testRunner: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner2.0-docker-testrunner
Expand Down

0 comments on commit 782faf1

Please sign in to comment.