-
Notifications
You must be signed in to change notification settings - Fork 376
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
ci: minor refactor to build-images job #1611
Conversation
We don't want to run `make version` in the context of a PR branch, so run it from master before checking out the PR branch. Signed-off-by: William Findlay <will@isovalent.com>
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 looks better to me, thanks
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.
LGTM
@@ -59,17 +59,26 @@ jobs: | |||
echo "tag=${{ github.sha }}" >> $GITHUB_OUTPUT | |||
fi | |||
|
|||
- name: Checkout Source Code | |||
- name: Checkout master branch |
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.
nit
- name: Checkout master branch | |
- name: Checkout main branch |
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.
Ah nice catch. PR's already merged, but let's fix this in a follow-up
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.
We don't want to run
make version
in the context of a PR branch, so run it from master before checking out the PR branch.