Skip to content

Commit

Permalink
Fix docker job in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
draoncc committed Mar 10, 2024
1 parent f2f4138 commit cd7ce76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .

0 comments on commit cd7ce76

Please sign in to comment.