Skip to content

Commit ffaa7be

Browse files
authored
fix push to ghcr.io (#473)
Signed-off-by: cpanato <[email protected]>
1 parent 3e85edf commit ffaa7be

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/release.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ jobs:
6161
username: ${{ secrets.DOCKER_USERNAME }}
6262
password: ${{ secrets.DOCKER_PASSWORD }}
6363

64+
- name: Login to registry
65+
if: github.repository == 'helm/chart-releaser'
66+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
67+
with:
68+
registry: ghcr.io
69+
username: ${{ github.repository_owner }}
70+
password: ${{ secrets.GITHUB_TOKEN }}
71+
6472
- name: Run Mage
6573
uses: magefile/mage-action@6a5dcb5fe61f43d7c08a98bc3cf9bc63c308c08e # v3.0.0
6674
with:

.goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ archives:
5353
checksum:
5454
name_template: 'checksums.txt'
5555
snapshot:
56-
name_template: "{{ .Tag }}-next"
56+
version_template: "{{ .Tag }}-next"
5757

5858
dockers:
5959
- goos: linux

0 commit comments

Comments
 (0)