Skip to content

Commit 3539327

Browse files
efiacortestliamfallon
authored
Update releaser and action (#4237)
* Update release process to target ghcr Signed-off-by: test <[email protected]> * Update release process to target ghcr Signed-off-by: Fiachra Corcoran <[email protected]> --------- Signed-off-by: test <[email protected]> Signed-off-by: Fiachra Corcoran <[email protected]> Co-authored-by: test <[email protected]> Co-authored-by: Liam Fallon <[email protected]>
1 parent 85f04b8 commit 3539327

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ jobs:
3939
git config --global user.name Your Name
4040
make all
4141
make test-docker
42-
- name: Login to GCR
43-
uses: docker/login-action@v2
42+
- name: Login to GitHub Container Registry
43+
uses: docker/login-action@v3
4444
with:
45-
registry: gcr.io
46-
username: _json_key
47-
password: ${{ secrets.GCR_TOKEN }}
45+
registry: ghcr.io
46+
username: ${{ github.actor }}
47+
password: ${{ secrets.GITHUB_TOKEN }}
4848
- name: Setup release environment
4949
id: setup-release-env
5050
run: |-

release/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ To cut a new kpt release perform the following:
1313
- 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"
1414
- Check the "create a discussion for this release" check-box
1515
- Click "publish" and then verify that the github action has run and the artefacts have been produced
16-

release/tag/goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ dockers:
6868
- ids:
6969
- linux-amd64
7070
image_templates:
71-
- "gcr.io/kpt-dev/kpt:{{ .Tag }}"
71+
- "ghcr.io/kptdev/kpt:{{ .Tag }}"
7272
dockerfile: "release/images/Dockerfile"
7373
- ids:
7474
- linux-amd64
7575
image_templates:
76-
- "gcr.io/kpt-dev/kpt-gcloud:{{ .Tag }}"
76+
- "ghcr.io/kptdev/kpt-gcloud:{{ .Tag }}"
7777
dockerfile: "release/images/Dockerfile-gcloud"
7878
archives:
7979
- id: archived

0 commit comments

Comments
 (0)