Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pushing image stages with tags #157

Open
aerlaut opened this issue Mar 4, 2024 · 1 comment
Open

Pushing image stages with tags #157

aerlaut opened this issue Mar 4, 2024 · 1 comment

Comments

@aerlaut
Copy link

aerlaut commented Mar 4, 2024

Was looking at the documentation and saw

image

Was there a decision why tags are ignored for stages_image_name?

@whoan
Copy link
Owner

whoan commented Aug 28, 2024

Was there a decision why tags are ignored for stages_image_name?

The decision was made based on these facts:

  • For legacy behavior (no buildkit), the action does not know in advance how many stages are going to be crated, so it makes them up using -stages: . All we can do to have different tags per stage is to allow providing a custom prefix/suffix which I don't see that useful
  • For buildkit, only one cache image is needed, so I used latest as that felt like a sensible default but it's true it could be anything else. Not sure why latest would be an issue though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants