-
Notifications
You must be signed in to change notification settings - Fork 33
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
[BUG] v2.4 breaks pushing multiple tags at once #57
Comments
this was not intended to be a breaking change. You can reference v2.3 in order to fix your pipeline while we investigate the problem. |
@PhrozenByte I have verified this and can confirm this got introduced in
Thanks for your suggestion, this seems to be valid but as mentioned above this change was not intended and this enhancement requires a major release (v3) for which we haven't planned yet. |
Thanks 👍 I already fixed the issue in my CI by using the action twice for both images I build. I still push multiple tags per image, but those are indeed aliases. Honestly I like the idea of interpreting multiple tags as aliases. It kinda feels "natural". Thus I wasn't sure whether it was an intended change or not. It just opened #58 for a discussion about how the inputs should behave in a proposed v3. |
@PhrozenByte We have changed back to this behaviour, when input
Fix for this is released in |
Works. Thank you! 👍 |
Great! Thanks for the confirmation 🙂 |
Version
redhat-actions/push-to-registry@v2
(which now referencesredhat-actions/[email protected]
by default)Describe the bug
Prior to #50 passing multiple tags caused the action to push all listed tags separately. Since v2.4 it rather assumes the first tag to be some sort of "primary" tag and pushes all following tags as aliases of this "primary" tag. It falsely assumes that all tags reference the same digest.
The input
tags: foo bar
executed the following prior to #50:Starting with
v2.4
it executes the following:This is a BC breaking change and silently broke my CI.
I'm not sure whether this was an intended change. In any case,
v2.4
needs to be withdrawn. If it wasn't intended, it needs fixing. If it was intended, it needs to be released asv3
instead, because it includes BC-breaking changes (following https://semver.org).If it was intended I'd like to suggest removing the requirement for all tags to exist locally (except the primary tag of course).
The text was updated successfully, but these errors were encountered: