-
Notifications
You must be signed in to change notification settings - Fork 1k
Trigger Docker builds on release branches #2510
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
bfa96aa
to
894a1e7
Compare
@@ -4,6 +4,7 @@ on: | |||
push: | |||
branches: | |||
- master | |||
- release/v[0-9]+.[0-9]+.[0-9]+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#patterns-to-match-branches-and-tags |
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.
First, this doesn't match any current release branches (which are named like release/v1.14.x
).
Second, how about just make it release/*
?
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.
good catch, yea let's just make * then
c5f58c6
to
ef9f14e
Compare
@@ -4,6 +4,7 @@ on: | |||
push: | |||
branches: | |||
- master | |||
- release/* | |||
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.
btw, why do we need workflow_dispatch here? what calls 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.
removed
What changed?
Starts Triggering Docker builds on commits into Release branches
Related PR:
temporalio/docker-builds#23
Why?
Automating releases
How did you test it?
Tested the code with personal repos and simulating the changes:
https://github.com/feedmeapples/gha-parent
https://github.com/feedmeapples/gha-child
Potential risks
Is hotfix candidate?