Skip to content

Commit

Permalink
fix: change host image
Browse files Browse the repository at this point in the history
  • Loading branch information
n4l5u0r committed Nov 29, 2024
1 parent 0b87eeb commit b46d749
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ jobs:
run: |
echo "speculosHash=$(git ls-remote https://github.com/LedgerHQ/speculos | head -n 1 | awk '{print $1}')" >> $GITHUB_OUTPUT
echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Login to Docker Hub
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU # to build multitarget containers
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -30,6 +31,6 @@ jobs:
platforms: linux/amd64,linux/arm64
push: ${{ (github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main')) || github.event_name == 'workflow_dispatch' }}
tags: >-
zondax/builder-zemu:${{ steps.hash.outputs.hash }},
zondax/builder-zemu:latest,
zondax/builder-zemu:speculos-${{ steps.hash.outputs.speculosHash }}
ghcr.io/${{ github.repository_owner }}/builder-zemu:${{ steps.hash.outputs.hash }},
ghcr.io/${{ github.repository_owner }}/builder-zemu:latest,
ghcr.io/${{ github.repository_owner }}/builder-zemu:speculos-${{ steps.hash.outputs.speculosHash }}

0 comments on commit b46d749

Please sign in to comment.