Skip to content

Commit

Permalink
Include arch in image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
BtbN committed Feb 16, 2025
1 parent d2e5277 commit 390341c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ jobs:
pull: true
push: true
provenance: false
tags: ${{ steps.imagename.outputs.name }}:latest
cache-to: type=registry,mode=max,ref=${{ steps.imagename.outputs.name }}:cache
cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache
tags: ${{ steps.imagename.outputs.name }}:latest${{ (contains(matrix.runner, 'arm') && '-arm') || '' }}
cache-to: type=registry,mode=max,ref=${{ steps.imagename.outputs.name }}:cache${{ (contains(matrix.runner, 'arm') && '-arm') || '' }}
cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache${{ (contains(matrix.runner, 'arm') && '-arm') || '' }}
- name: Get download cache key
if: ${{ !cancelled() && !contains(matrix.runner, 'arm') }}
id: dl_cache
Expand All @@ -100,7 +100,6 @@ jobs:
./download.sh
./util/clean_cache.sh
- name: Cleanup
if: ${{ !cancelled() && !contains(matrix.runner, 'arm') }}
continue-on-error: true
uses: BtbN/delete-untagged-ghcr-action@main
with:
Expand Down

0 comments on commit 390341c

Please sign in to comment.