Include arch in image tag

This commit is contained in:
BtbN 2025-02-16 03:14:04 +01:00
parent d2e5277f79
commit 390341c508

View File

@ -77,9 +77,9 @@ jobs:
pull: true pull: true
push: true push: true
provenance: false provenance: false
tags: ${{ steps.imagename.outputs.name }}:latest tags: ${{ steps.imagename.outputs.name }}:latest${{ (contains(matrix.runner, 'arm') && '-arm') || '' }}
cache-to: type=registry,mode=max,ref=${{ steps.imagename.outputs.name }}:cache 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 cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache${{ (contains(matrix.runner, 'arm') && '-arm') || '' }}
- name: Get download cache key - name: Get download cache key
if: ${{ !cancelled() && !contains(matrix.runner, 'arm') }} if: ${{ !cancelled() && !contains(matrix.runner, 'arm') }}
id: dl_cache id: dl_cache
@ -100,7 +100,6 @@ jobs:
./download.sh ./download.sh
./util/clean_cache.sh ./util/clean_cache.sh
- name: Cleanup - name: Cleanup
if: ${{ !cancelled() && !contains(matrix.runner, 'arm') }}
continue-on-error: true continue-on-error: true
uses: BtbN/delete-untagged-ghcr-action@main uses: BtbN/delete-untagged-ghcr-action@main
with: with: