Skip to content

Commit

Permalink
adding pull image before tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
amankumarrr committed May 1, 2024
1 parent f60890c commit 11b0560
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/weekly-acr-images-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:

- name: Tag Production ACR Image
run: |
# Pull the staging image from ACR
docker pull ${{ env.ACR_LOGIN_SERVER }}/${{ env.IMAGE_NAME }}:staging
# Tag the Docker image with the production tag
docker tag ${{ env.ACR_LOGIN_SERVER }}/${{ env.IMAGE_NAME }}:staging `
${{ env.ACR_LOGIN_SERVER }}/${{ env.IMAGE_NAME }}:production
Expand Down

0 comments on commit 11b0560

Please sign in to comment.