Skip to content

Commit

Permalink
Bryan(squish commits): update(publish.yaml): add github.sha as tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Souheil-Yazji committed Sep 9, 2024
1 parent c9d4231 commit ad267e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# * Builds, tests, and scans all images
# * (optionally) pushes the images to ACR
#
#
# This workflow triggers on:
# * a push to master
# * any create/synchronize to a PR (eg: any time you push an update to a PR).
Expand Down Expand Up @@ -72,5 +73,5 @@ jobs:
- name: Push image to registry
run: |
docker pull localhost:5000/filer-sidecar:latest
docker tag localhost:5000/filer-sidecar:latest ${{ env.REGISTRY_NAME }}.azurecr.io/filer-sidecar:latest
docker push ${{ env.REGISTRY_NAME }}.azurecr.io/filer-sidecar:latest
docker tag localhost:5000/filer-sidecar:latest ${{ env.REGISTRY_NAME }}.azurecr.io/filer-sidecar:${{ github.sha }}
docker push ${{ env.REGISTRY_NAME }}.azurecr.io/filer-sidecar:${{ github.sha }}

0 comments on commit ad267e9

Please sign in to comment.