From cd7ce76c586066434dfe55a984e456e627d3203b Mon Sep 17 00:00:00 2001 From: draoncc Date: Sun, 10 Mar 2024 05:40:01 +0100 Subject: [PATCH] Fix docker job in CI --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2249490..fd81a62 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,12 +91,12 @@ jobs: version: latest - name: ghcr.io login run: | - echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin - name: Run Buildx run: | docker buildx build \ --pull \ --push \ --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 \ - --tag ghcr.io/nicolaschan/minecraft-backup:${GITHUB_REF#refs/*/} \ - --tag ghcr.io/nicolaschan/minecraft-backup:latest . + --tag ghcr.io/${{ github.repository_owner }}/minecraft-backup:${GITHUB_REF#refs/*/} \ + --tag ghcr.io/${{ github.repository_owner }}/minecraft-backup:latest .