-
Notifications
You must be signed in to change notification settings - Fork 34
Create branch-based and commit-based images #129
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
jotak
commented
Mar 7, 2022
- an image tagged "main" (tracking branch "main")
- an image, short-lived, tagged after commit SHA
|
This is to have similar images as the ones created on the other repos. |
ok
At the moment there's only a |
d4f2ae2 to
88a6080
Compare
|
@eranra I did a few changes, adding |
- an image tagged "main" (tracking branch "main") - an image, short-lived, tagged after commit SHA
It's the same as in console-pluigin repo
|
I've also added a release action, same as in the console plugin repo |
Codecov Report
@@ Coverage Diff @@
## main #129 +/- ##
=======================================
Coverage 57.14% 57.14%
=======================================
Files 49 49
Lines 2842 2842
=======================================
Hits 1624 1624
Misses 1103 1103
Partials 115 115
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Yes .. very good change :-) |
| - name: validate tag | ||
| id: validate_tag | ||
| run: | | ||
| tag=`git describe --exact-match --tags 2> /dev/null` |
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 question and a suggestion ... we have some of that logic in the version building in the Makfile ... would it make sense to expose that with one a Makefile target instead of writing all this logic here ... maybe move to a script under hack ... I just think that having so much logic inside github action might not be good practice?
This is just a suggestion ... not blocking merge or something like that ,.,., this is good now :-0)
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.
Maybe one downside if we have it in a separate place, it's that the echo "::set-output name=tag::$tag" command, which is tied to the rest of the github action, would be less visible from the action, so it could be more confusing or error prone if the script is modified. What do you think?
👍 |