-
Notifications
You must be signed in to change notification settings - Fork 13
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
Exit With Error If Push Fails #26
Comments
@DonovanDMC - thanks for a bug report. Are you using the latest version of the |
You're testing against a condition that returns an exit code, so of course it exits fine https://github.com/DonovanDMC/Websites/blob/master/.github/workflows/publish-container.yml I can very reliably reproduce this by pushing to a package that doesn't exist, or pushing to one that you only have read only access for. The run completed as if everything went fine, despite the second to last line showing that the push failed |
We just got bit by this as well:
The action completes as green. |
Currently, the jobs shows as successfully ran even if the push actually failed. This makes taking a quick look to see if a push succeeded impossible.
For instance, if the image does not exist yet:
or if the action cannot push to the specific package:
both of these are failures, but the run exits as if everything went just fine
The text was updated successfully, but these errors were encountered: