-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix build failures when Docker auth check fails #1191
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a test?
58b542d
to
8f4bccc
Compare
@sdelamo done. I confirmed that the test fails without the change and passes afterward. |
assert log.text.contains("[WARNING] Failed to login to registry") : "Credentials check should be a soft failure" | ||
assert log.text.contains(" Could not push image: denied") : "A push should always be attempted" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test could be revised to be confirm a successful push after the soft failure, if there is a GCR analog to phx.ocir.io/oraclelabs/micronaut-maven-plugin
available.
@eager-signal I'm testing this locally, and am getting the same error as in CI: Maybe you're logged in locally and you are getting different results? |
@alvarosanchez ah, this is possible. I will do some testing in a clean environment. |
da60c25
to
e911b57
Compare
@alvarosanchez thanks for the tip. I cleared my I just pushed an update to the |
Hmm, the |
fixes #1172