From 88108566f8ab33f1a4263a36a5c1ffc071645ac3 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Tue, 30 Jan 2024 09:03:17 +0000 Subject: [PATCH] chore(build): fixes docker login action credentials --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0705ebd..f1f0dd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,17 +97,17 @@ jobs: - uses: docker/setup-buildx-action@v2 - uses: docker/login-action@v2 with: - registry: ${{ vars.KRYSTAL_REGISTRY_HOST }} - username: ${{ vars.KRYSTAL_REGISTRY_USERNAME }} - password: ${{ secrets.KRYSTAL_REGISTRY_PASSWORD }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: push: true tags: | ghcr.io/postalserver/postal:stable ghcr.io/postalserver/postal:${{ needs.release-please.outputs.version }} - cache-from: type=local,src=/cache/krystal-identity - cache-to: type=local,dest=/cache/krystal-identity,mode=max + cache-from: type=gha + cache-to: type=gha,mode=max target: full build-args: | VERSION=${{ needs.release-please.outputs.version }}