My deployed images are tagged incorrectly

My deployed images are not tagged with the right tag. The images are tagged with the typical fly generic tag foo-app-deployment-01J3R....

Why is this happening? I have built the image and pushed the image, only to see that fly is somehow renaming the tag under the hood or something like that

When I run

flyctl deploy --app ${{ env.FLY_APP_NAME }} \
--image \
${{ vars.FLY_REGISTRY }}/${{ env.FLY_APP_NAME }}:${{ env.VERSION }}.${{ env.BUILD }}

What does the information below mean? is it using a different image?

Searching for image 'registry.fly.io/foo-app:1.0.0.262.859fd7f5' locally...

image found: sha256:0a..................................

So I see fly using the digest created from my image but using a different tag.

I was able to solve the issue with additional argument --image-label which specifies the tag

Source: fly deploy ยท Fly Docs

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.