Skip to content

Commit 0da2fc8

Browse files
committed
ci: enhance Docker build configuration with multi-platform support and caching
1 parent e8f5a20 commit 0da2fc8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/check-bioc.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,10 @@ jobs:
314314
uses: docker/build-push-action@v4
315315
with:
316316
context: .
317+
platforms: linux/amd64,linux/arm64
318+
cache-from: type=gha
319+
cache-to: type=gha,mode=max
317320
push: true
318321
tags: |
319322
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.CONT_IMG_NAME }}:latest
320-
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.CONT_IMG_NAME }}:devel
323+
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.CONT_IMG_NAME }}:devel

0 commit comments

Comments
 (0)