From 238513437d10a8e2ab2a2d5abe90ec2195007b55 Mon Sep 17 00:00:00 2001 From: test Date: Thu, 14 Aug 2025 23:12:16 +0100 Subject: [PATCH 1/2] Update release process to target ghcr Signed-off-by: test --- .github/workflows/release.yml | 10 +++++----- release/tag/goreleaser.yaml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4dfc99e3b4..74d82322c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,12 +39,12 @@ jobs: git config --global user.name Your Name make all make test-docker - - name: Login to GCR - uses: docker/login-action@v2 + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 with: - registry: gcr.io - username: _json_key - password: ${{ secrets.GCR_TOKEN }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Setup release environment id: setup-release-env run: |- diff --git a/release/tag/goreleaser.yaml b/release/tag/goreleaser.yaml index 9c0f6255ec..b8de1e3821 100644 --- a/release/tag/goreleaser.yaml +++ b/release/tag/goreleaser.yaml @@ -68,12 +68,12 @@ dockers: - ids: - linux-amd64 image_templates: - - "gcr.io/kpt-dev/kpt:{{ .Tag }}" + - "ghcr.io/kptdev/kpt:{{ .Tag }}" dockerfile: "release/images/Dockerfile" - ids: - linux-amd64 image_templates: - - "gcr.io/kpt-dev/kpt-gcloud:{{ .Tag }}" + - "ghcr.io/kptdev/kpt-gcloud:{{ .Tag }}" dockerfile: "release/images/Dockerfile-gcloud" archives: - id: archived From 5287fd287ea763ad021d778e93316d39ff656365 Mon Sep 17 00:00:00 2001 From: test Date: Thu, 14 Aug 2025 23:12:36 +0100 Subject: [PATCH 2/2] Update release process to target ghcr Signed-off-by: Fiachra Corcoran --- release/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/README.md b/release/README.md index 2256a8e422..bf10401b27 100644 --- a/release/README.md +++ b/release/README.md @@ -24,7 +24,7 @@ To cut a new kpt release perform the following: - `git push upstream v1.0.0-(alpha|beta|rc).*` - This will trigger a Github Action that will use goreleaser to make the release. The result will be a github release in the draft state and upload - docker images to GCR. + docker images to GHCR. - Verify that the release looks good. If it does, publish the release through the github UI. - Update the Homebrew release