-
Notifications
You must be signed in to change notification settings - Fork 14
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
add push
input to push-to-gar-docker action
#139
add push
input to push-to-gar-docker action
#139
Conversation
description: | | ||
Whether to push the image to the registry. | ||
required: false | ||
default: "true" |
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.
will this work?
default: "true" | |
default: ${{ github.event_name == 'push' }} |
this is a break of backwards compatibility otherwise
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.
tldr; yes. good point! 👍
I pointed this build to commit 9cc5c0d, it looks like this works (this was a push
event, push
without being specified defaulted to true
).
On this build, a pull_request
event, I specified push: true
and it worked as expected
Nice, I actually need this! |
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.
I think it's good, we just need #140 to get merged so you can rebase and then get a CI run
is merged now --- give this one a rebase and let's see |
@iainlane I believe the rebase helped, it looks like the |
No description provided.