Skip to content

Commit

Permalink
Manifest tag fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moubctez committed Aug 19, 2024
1 parent 6317173 commit a3d1f78
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Create manifest
- name: Create and push manifests
run: |
docker manifest create ${{ env.GHCR_REPO }}:${{ github.sha }} \
${{ env.GHCR_REPO }}:${{ github.sha }}-amd64 \
${{ env.GHCR_REPO }}:${{ github.sha }}-arm64
- name: Push manifest
run: |
docker manifest push ${{ env.GHCR_REPO }}:${{ github.sha }}
for tag in ${{ env.GHCR_REPO }}:${{ github.sha }} ${{ steps.meta.outputs.tags }} \
do \
docker manifest create ${{ tag }} \
${{ env.GHCR_REPO }}:${{ github.sha }}-amd64 \
${{ env.GHCR_REPO }}:${{ github.sha }}-arm64 \
docker manifest push ${{ env.GHCR_REPO }}:${{ github.sha }} \
done

0 comments on commit a3d1f78

Please sign in to comment.