From db4843ad6527b2964ca6544e28398215bbebe4e6 Mon Sep 17 00:00:00 2001 From: Ingo Gottwald Date: Tue, 8 Apr 2025 11:59:28 +0200 Subject: [PATCH] ci: fix ghcr auth moving to PAT auth --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 88c6c43..aec66ed 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,8 +1,5 @@ name: release -env: - GITHUB_TOKEN: ${{ secrets.GHCRTOKEN }} - on: push: branches: @@ -21,5 +18,8 @@ jobs: - name: build image run: docker build --platform linux/amd64 -t ghcr.io/digitalocean-packages/doks-debug:latest . + - name: log into container registry + run: echo "${{ secrets.GHCRTOKEN }}" | docker login --username "${{ secrets.GHCRUSER }}" --password-stdin + - name: push image run: docker push ghcr.io/digitalocean-packages/doks-debug:latest