-
Notifications
You must be signed in to change notification settings - Fork 0
GHA for push to docker.io #17
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
Conversation
- "v*" # push events to tagged commits | ||
branches: | ||
- "**" | ||
workflow_dispatch: |
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.
Why did you make this change? I think automatically pushing to docker.io on each merge todefang
is a good idea.
Why shouldn't we do something like this?
workflow_dispatch: | |
push: | |
tags: | |
- "v*" # push events to tagged commits | |
branches: | |
- "defang" |
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 am reluctant to have this auto push until we have a test in place.
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.
A test of what?
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.
end to end test. The fact that we have to handle differences between anthropic and gemini makes me think regressions will go undetected if we automate pushing.
if: startsWith(github.ref, 'refs/tags/v') # only run this step on tagged commits | ||
make-images: | ||
name: Make Docker Images and Push To Registry | ||
if: github.ref == 'refs/heads/defang' |
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 is implied by the suggestion above, so it could be removed here
if: github.ref == 'refs/heads/defang' |
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 look forward to automating this completely, but this is a nice step forward 👍
Update GHA to allow manual triggering of action to docker.io