-
Notifications
You must be signed in to change notification settings - Fork 164
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
GitHub Actions: use correct tag in assets.yml #3529
GitHub Actions: use correct tag in assets.yml #3529
Conversation
We pass github.ref which have format refs/tags/%tag%. We can use this format to download GitHub repository and checkout to specific branch, however this format is not applicable to docker pull and rest of the steps. Therefore we set up TAG environment variable in %tag% format which is used in all steps after checking out and is derived from git tag. Signed-off-by: Pavel Abramov <[email protected]>
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.
Am I correct that the 11.0 branch will use the master assets.yml based on
uses: lf-edge/eve/.github/workflows/assets.yml@master
So no backport is needed to 11.0?
Yes, it'll use master version |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3529 +/- ##
=======================================
Coverage 20.51% 20.51%
=======================================
Files 208 208
Lines 45381 45381
=======================================
+ Hits 9309 9310 +1
Misses 35389 35389
+ Partials 683 682 -1 ☔ View full report in Codecov by Sentry. |
Following lf-edge#3529 this commit fixes publishing step. TAG variable should not be quoted. We remove tag environment variable and use TAG since it's already present. Signed-off-by: Pavel Abramov <[email protected]>
Following #3529 this commit fixes publishing step. TAG variable should not be quoted. We remove tag environment variable and use TAG since it's already present. Signed-off-by: Pavel Abramov <[email protected]>
Following lf-edge#3529 this commit fixes publishing step. TAG variable should not be quoted. We remove tag environment variable and use TAG since it's already present. Signed-off-by: Pavel Abramov <[email protected]>
Following #3529 this commit fixes publishing step. TAG variable should not be quoted. We remove tag environment variable and use TAG since it's already present. Signed-off-by: Pavel Abramov <[email protected]>
We pass github.ref which have format refs/tags/%tag%. We can use this format to download GitHub repository and checkout to specific branch, however this format is not applicable to docker pull and rest of the steps. Therefore we set up TAG environment variable in %tag% format which is used in all steps after checking out and is derived from git tag.