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 images: Define a variable for the floating tags #28008
Merged
Merged
Conversation
This file contains 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
maintainer-s-little-helper
bot
added
the
dont-merge/needs-release-note-label
The author needs to describe the release impact of these changes.
label
Sep 7, 2023
maintainer-s-little-helper
bot
removed
the
dont-merge/needs-release-note-label
The author needs to describe the release impact of these changes.
label
Sep 7, 2023
Define a variable for CI image floating tags instead of hardcoding it. - For the main branch, the floating tag is "latest". - For stable branches, the floating tag is the same as the branch name (e.g. "v1.14"). Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
michi-covalent
force-pushed
the
pr/michi/floating
branch
from
September 7, 2023 21:24
c1a46f0
to
59500cb
Compare
tested the change in my personal fork: main: https://github.com/michi-covalent/cilium/actions/runs/6112998044/job/16591585193#step:12:8 |
/test |
viktor-kurchenko
approved these changes
Sep 8, 2023
maintainer-s-little-helper
bot
added
the
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
label
Sep 8, 2023
michi-covalent
added a commit
to michi-covalent/cilium
that referenced
this pull request
Sep 19, 2023
Define a variable for CI image floating tags instead of hardcoding it. - For the main branch, the floating tag is "latest". - For stable branches, the floating tag is the same as the branch name (e.g. "v1.14"). This commit was initially introduced in cilium#28008, but it got reverted because it tried to push floating tags for feature branches and failed. Now that cilium#28044 is merged, this workflow no longer pushes floating tags from feature branches. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
michi-covalent
added a commit
to michi-covalent/cilium
that referenced
this pull request
Sep 19, 2023
Define a variable for CI image floating tags instead of hardcoding it. - For the main branch, the floating tag is "latest". - For stable branches, the floating tag is the same as the branch name (e.g. "v1.14"). This commit was initially introduced in cilium#28008, but it got reverted because it tried to push floating tags for feature branches and failed. Now that cilium#28044 is merged, this workflow no longer pushes floating tags from feature branches. Therefore it is safe to use github.ref_name as a floating tag. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
michi-covalent
added a commit
that referenced
this pull request
Sep 21, 2023
Define a variable for CI image floating tags instead of hardcoding it. - For the main branch, the floating tag is "latest". - For stable branches, the floating tag is the same as the branch name (e.g. "v1.14"). This commit was initially introduced in #28008, but it got reverted because it tried to push floating tags for feature branches and failed. Now that #28044 is merged, this workflow no longer pushes floating tags from feature branches. Therefore it is safe to use github.ref_name as a floating tag. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
gandro
pushed a commit
to gandro/cilium
that referenced
this pull request
Oct 10, 2023
[ upstream commit 5b55b65 ] Define a variable for CI image floating tags instead of hardcoding it. - For the main branch, the floating tag is "latest". - For stable branches, the floating tag is the same as the branch name (e.g. "v1.14"). This commit was initially introduced in cilium#28008, but it got reverted because it tried to push floating tags for feature branches and failed. Now that cilium#28044 is merged, this workflow no longer pushes floating tags from feature branches. Therefore it is safe to use github.ref_name as a floating tag. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
pchaigno
pushed a commit
that referenced
this pull request
Jan 8, 2024
[ upstream commit 5b55b65 ] Define a variable for CI image floating tags instead of hardcoding it. - For the main branch, the floating tag is "latest". - For stable branches, the floating tag is the same as the branch name (e.g. "v1.14"). This commit was initially introduced in #28008, but it got reverted because it tried to push floating tags for feature branches and failed. Now that #28044 is merged, this workflow no longer pushes floating tags from feature branches. Therefore it is safe to use github.ref_name as a floating tag. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
release-note/ci
This PR makes changes to the CI.
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.
Define a variable for CI image floating tags instead of hardcoding it.