-
Notifications
You must be signed in to change notification settings - Fork 79
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: build and push copa-extension image on release #726
ci: build and push copa-extension image on release #726
Conversation
Signed-off-by: ashnamehrotra <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #726 +/- ##
=======================================
Coverage 47.46% 47.46%
=======================================
Files 18 18
Lines 1677 1677
=======================================
Hits 796 796
Misses 826 826
Partials 55 55 ☔ View full report in Codecov by Sentry. |
- name: Build and push copa-extension image with new version | ||
run: | | ||
tag="$(echo "${{ github.ref }}" | tr -d 'refs/tags/v')" | ||
docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg copa_version=${tag} -t copa-extension container/copa-extension |
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.
tag doesn't look right, is this correct?
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.
it should parse the tag the same way when running the ci, its following the same approach as copa-action image https://github.com/project-copacetic/copacetic/blob/main/.github/workflows/release.yml#L58-L61
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
Describe the changes in this pull request using active verbs such as Add, Remove, Replace ...
Adds step to build and push new copa-extension image on each copa release.
Related to project-copacetic/copa-extension#5
Closes #725