Skip to content

Commit

Permalink
ci: fix docker deployment (#8971)
Browse files Browse the repository at this point in the history
fix an issue introduced by https://github.com/openfoodfacts/openfoodfacts-server/pull/8951/files : env.TAG_NAME is not set, we must use sha-{{ github.sha }}
  • Loading branch information
alexgarel authored Sep 7, 2023
1 parent c68a5c2 commit b844332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/container-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
waited=0
for IMAGE_TYPE in frontend backend
do
image_name=ghcr.io/${{ github.repository }}/$IMAGE_TYPE:${{ env.TAG_NAME }}
image_name=ghcr.io/${{ github.repository }}/$IMAGE_TYPE:sha-${{ github.sha }}
# pull image, eventually waiting for it to be available in ghcr.io
while ! (docker pull $image_name); do
sleep 30
Expand Down

0 comments on commit b844332

Please sign in to comment.