Skip to content

Commit

Permalink
Updating the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-kevin committed Nov 14, 2022
1 parent 7bead4c commit 22dd213
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pipelines/azure-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ stages:
inputs:
command: login
containerRegistry: dockerhub
- task: Docker@2
displayName: Login to chimera
inputs:
command: login
containerRegistry: CHIMERA-U-ACR
- checkout: self
fetchDepth: 1
path: $(self_location)
Expand All @@ -67,8 +72,8 @@ stages:
for IMAGE in "cccs/" "uchimera.azurecr.io/cccs/"
do
docker tag ${IMAGE}${BUILD_REPOSITORY_NAME##*/}:$BUILD_TYPE ${IMAGE}${BUILD_REPOSITORY_NAME##*/}:$TAG
docker tag ${IMAGE}${BUILD_REPOSITORY_NAME##*/}:$BUILD_TYPE ${IMAGE}${BUILD_REPOSITORY_NAME##*/}:$BUILD_TYPE
docker tag cccs/${BUILD_REPOSITORY_NAME##*/}:$BUILD_TYPE ${IMAGE}${BUILD_REPOSITORY_NAME##*/}:$TAG
docker tag cccs/${BUILD_REPOSITORY_NAME##*/}:$BUILD_TYPE ${IMAGE}${BUILD_REPOSITORY_NAME##*/}:$BUILD_TYPE
docker push ${IMAGE}${BUILD_REPOSITORY_NAME##*/} --all-tags
done
displayName: Deploy to container repositories

0 comments on commit 22dd213

Please sign in to comment.