Skip to content

Commit 72a9e4d

Browse files
Basma1912robhudson
authored andcommitted
fix the incorrect tag used
Signed-off-by: Basma1912 <[email protected]>
1 parent 4787c04 commit 72a9e4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build-and-push.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ jobs:
7373
name: Push Image to GAR
7474
needs: build_and_publish_public_images
7575
runs-on: ubuntu-latest
76-
environment: build
7776
permissions:
7877
contents: read
7978
id-token: write
@@ -119,7 +118,7 @@ jobs:
119118
- id: push-existing-image-to-gar
120119
name: Push existing image to GAR
121120
run: |-
122-
docker tag mozmeao/basket:${{ needs.build_and_publish_public_images.outputs.long_sha }} ${{ env.GAR_LOCATION }}-docker.pkg.dev/${{ env.GCP_PROJECT_ID }}/${{ env.GAR_REPOSITORY}}/${{ env.IMAGE }}:${{ env.TAG }}
121+
docker tag mozmeao/basket:${{ needs.build_and_publish_public_images.outputs.short_sha }} ${{ env.GAR_LOCATION }}-docker.pkg.dev/${{ env.GCP_PROJECT_ID }}/${{ env.GAR_REPOSITORY}}/${{ env.IMAGE }}:${{ env.TAG }}
123122
docker push ${{ env.GAR_LOCATION }}-docker.pkg.dev/${{ env.GCP_PROJECT_ID }}/${{ env.GAR_REPOSITORY}}/${{ env.IMAGE }}:${{ env.TAG }}
124123
125124

0 commit comments

Comments
 (0)