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
fix(CI): Build the generator and release images on pushes (#12273)
All pushes to master and release branches will result in a tag of the
name of the branch. PR CI also verifies the images build properly prior
to merge.
Signed-off-by: mprahl <[email protected]>
Copy file name to clipboardExpand all lines: backend/api/README.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,13 +77,16 @@ API definitions in this folder are used to generate [`v1beta1`](https://www.kube
77
77
78
78
4. Create a PR with the changes in [kubeflow.org website repository](https://github.com/kubeflow/website). See an example [here](https://github.com/kubeflow/website/pull/3444).
79
79
80
-
## Updating API generator image
80
+
## Updating API generator image (Manual)
81
+
82
+
This is now automatic on pushes to GitHub branches, but the instructions are kept here in case you need to do it
83
+
manually.
81
84
82
85
API generator image is defined in [Dockerfile](`./Dockerfile`). If you need to update the container, follow these steps:
* Replace `<PAT>` with a GitHub Personal Access Token (PAT) with the write:packages and `read:packages` scopes, as well as `delete:packages` if needed.
86
-
1. Update the [Dockerfile](`./Dockerfile`) and build the image by running `docker build -t ghcr.io/kubeflow/kfp-api-generator:$VERSION .`
87
-
1. Push the new container by running `docker push ghcr.io/kubeflow/kfp-api-generator:$VERSION`.
89
+
1. Update the [Dockerfile](`./Dockerfile`) and build the image by running `docker build -t ghcr.io/kubeflow/kfp-api-generator:$BRANCH .`
90
+
1. Push the new container by running `docker push ghcr.io/kubeflow/kfp-api-generator:$BRANCH`.
88
91
1. Update the `PREBUILT_REMOTE_IMAGE` variable in the [Makefile](./Makefile) to point to your new image.
89
-
1. Similarly, push a new version of the release tools image to `ghcr.io/kubeflow/kfp-release:$VERSION` and run `make push` in [test/release/Makefile](../../test/release/Makefile).
92
+
1. Similarly, push a new version of the release tools image to `ghcr.io/kubeflow/kfp-release:$BRANCH` and run `make push` in [test/release/Makefile](../../test/release/Makefile).
0 commit comments