build(ci): add workflow for releasing main image#1191
Merged
Conversation
this commit adds a github workflow that will build and push a new image whenever a new commit is merged on main branch. Signed-off-by: Anurag <81210977+kranurag7@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1191 +/- ##
==========================================
+ Coverage 80.25% 80.30% +0.05%
==========================================
Files 66 66
Lines 3646 3646
==========================================
+ Hits 2926 2928 +2
+ Misses 505 503 -2
Partials 215 215 ☔ View full report in Codecov by Sentry. |
TerryHowe
reviewed
Nov 26, 2023
qweeah
approved these changes
Dec 19, 2023
qweeah
left a comment
Contributor
There was a problem hiding this comment.
LGTM.
I think what's proposed in this PR can be merged into the https://github.com/oras-project/oras/blob/main/.github/workflows/release-ghcr.yml by changing the prepare job to
TAG=${GITHUB_REF#refs/*/}
echo "ref=ghcr.io/${{ github.repository }}:${TAG}" >> $GITHUB_OUTPUT
This can be done in another PR.
FeynmanZhou
pushed a commit
to FeynmanZhou/oras
that referenced
this pull request
May 11, 2024
Signed-off-by: Anurag <81210977+kranurag7@users.noreply.github.com> Signed-off-by: Feynman Zhou <feynmanzhou@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub workflow that will build and push a new image whenever a new commit is merged on main branch.
I added a commit on my fork's main for testing.
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #1155
Please check the following list: