Skip to content

Commit 163e67c

Browse files
committed
fix(ci): need to login to ghcr
1 parent 5f05f55 commit 163e67c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ jobs:
9494
ostype: [linux-gnu, linux-musl]
9595
runs-on: ubuntu-latest
9696
steps:
97+
- name: Log in to the Container registry
98+
if: ${{ needs.release.outputs.published == 'true' }}
99+
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
100+
with:
101+
registry: ghcr.io
102+
username: ${{ github.actor }}
103+
password: ${{ secrets.GITHUB_TOKEN }}
97104
- name: Combine per architecture images into a single multi-arch manifest
98105
run: |
99106
docker pull ghcr.io/kong/template-github-release:${{ needs.release.outputs.release-git-tag }}-aarch64-${{ matrix.ostype }}

0 commit comments

Comments
 (0)