Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |-
Expand Down
2 changes: 1 addition & 1 deletion release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions release/tag/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading