Skip to content

Commit 54a9ff3

Browse files
committed
stable-branch: Add skopeo copy step for branching
Signed-off-by: Joe Stringer <joe@cilium.io>
1 parent 218a434 commit 54a9ff3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/ISSUE_TEMPLATE/release_template_rc_branch.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,19 @@ assignees: ''
4949
- [ ] Sync the `vX.Y` branch up to the commit before preparing for the `X.Y+1` development cycle.
5050
- `git fetch upstream && git checkout vX.Y && git merge --ff-only upstream/main~1 && git log -5`
5151
- `git push upstream vX.Y`
52+
- [ ] Push a copy of the latest CI image as a temporary vX.Y CI image version
53+
so that the upgrade workflow on `main` can upgrade from it.
54+
- ```
55+
skopeo login quay.io
56+
57+
REPOS=$(yq '.jobs.build-and-push-prs.strategy.matrix.include[] | select(.name != "cilium-cli") | .name' .github/workflows/build-images-ci.yaml)
58+
COMMIT=$(git rev-parse vX.Y)
59+
for repo in $REPOS; do
60+
skopeo copy -a docker://quay.io/cilium/$repo-ci:$COMMIT docker://quay.io/cilium/$repo-ci:v1.18;
61+
done
62+
63+
skopeo logout
64+
```
5265
- [ ] Protect the new stable branch with GitHub Settings [here](https://github.com/cilium/cilium/settings/branches)
5366
- Use the settings of the previous stable branch and main as sane defaults
5467
- [ ] On the `vX.Y` branch, prepare for stable release development:

0 commit comments

Comments
 (0)