You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/src/development/releasing.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,16 +29,22 @@ Promote the container images from the staging registry to the production registr
29
29
3. Wait for an image to appear with the tagged release version.
30
30
4. If you don't have a GitHub token, create one by going to your GitHub settings, in [Personal access tokens](https://github.com/settings/tokens). Make sure you give the token the `repo` scope.
31
31
5. Create a PR to promote the images:
32
+
32
33
```bash
33
34
export GITHUB_TOKEN=<your GH token>
34
35
make promote-images
35
36
```
37
+
36
38
**Notes**:
39
+
*`make promote-images` target tries to figure out your Github user handle in order to find the forked [k8s.io](https://github.com/kubernetes/k8s.io) repository.
40
+
If you have not forked the repo, please do it before running the Makefile target.
41
+
*if`make promote-images` fails with an error like `FATAL while checking fork of kubernetes/k8s.io` you may be able to solve it by manually setting the USER_FORK variable i.e. `export USER_FORK=<personal GitHub handle>`
37
42
*`kpromo` uses `[email protected]:...` as remote to push the branch for the PR. If you don't have `ssh` set up you can configure
38
43
git to use `https` instead via `git config --global url."https://github.com/".insteadOf [email protected]:`.
39
44
* This will automatically create a PR in [k8s.io](https://github.com/kubernetes/k8s.io) and assign the CAPA maintainers.
40
45
6. Wait for the PR to be approved (typically by CAPA maintainers authorized to merge PRs into the k8s.io repository) and merged.
41
46
7. Verify the images are available in the production registry:
0 commit comments