-
Notifications
You must be signed in to change notification settings - Fork 121
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
Proposal to add an input to allow fail on warnings #200
Comments
@CAMOBAP You have this warning because you're using
If your tag doesn't support semver and you just want the tag, then just replace
|
@crazy-max thanks for the suggestion. The problem is solved actually, my point is that this warning is silent, you can find it only if other steps fail. Isn't it better if the step will fail instead of the warning message? |
Yes maybe we could add a strict mode to the action for semver and maybe also for invalid chars in image name and tags. Not sure if it should be global or per entries:
Or through
Need to think about it. Open to suggestions. |
If you ask me (as a user) it will be nice to just extra input |
Hello, necroing this thread because this would be a useful streamlining of one of our actions, has there been any further thought on it since September 2023? |
Behaviour
Steps to reproduce this issue
Warning: v1.5.15pre1 is not a valid semver. More info: https://semver.org/
Expected behavior
It will be nice to add some
strict
input to treat all warnings as errors. And if the version is invalid thedocker/metadata-action
step will failsActual behaviour
I suppose current behavior is right
This ticket just to understand if this feature is useful for someone else
The text was updated successfully, but these errors were encountered: