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/README.md b/release/README.md index cce927a9d1..e129eef825 100644 --- a/release/README.md +++ b/release/README.md @@ -13,4 +13,3 @@ To cut a new kpt release perform the following: - If the release is an alpha or beta release and there is already a stable version available, the "set as a pre-release" check-box should be checked. Otherwise, leave it checked as "set as the latest release" - Check the "create a discussion for this release" check-box - Click "publish" and then verify that the github action has run and the artefacts have been produced - 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