Update docker-image.yml

This commit is contained in:
Alberto Xamin 2024-12-30 17:13:44 +01:00 committed by GitHub
parent 6bc10f1bff
commit 0a2bbce2da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ jobs:
context: .
platforms: ${{ matrix.platform }}
push: true
tags: albertoxamin/bang:${{ matrix.platform }}
tags: albertoxamin/bang:${{ matrix.platform | replace('/', '-') }}
cache-from: type=registry,ref=albertoxamin/bang:${{ matrix.platform }}
cache-to: type=inline
@ -62,6 +62,6 @@ jobs:
run: |
docker buildx imagetools create \
--tag albertoxamin/bang:latest \
albertoxamin/bang:linux/amd64 \
albertoxamin/bang:linux/arm/v7 \
albertoxamin/bang:linux/arm64/v8
albertoxamin/bang:linux-amd64 \
albertoxamin/bang:linux-arm-v7 \
albertoxamin/bang:linux-arm64-v8