From 328f11c939780e048105a6cdac576da33a93a8a3 Mon Sep 17 00:00:00 2001 From: Bjorn Oscarsson Date: Thu, 23 May 2024 23:09:23 +0200 Subject: [PATCH] Fixes #224 --- .github/workflows/ci.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 044f5eb..2f28b21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,23 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3.3.0 - - name: Build and Push + - name: Build (test build linux/arm64) + uses: docker/build-push-action@v5.3.0 + with: + labels: | + org.opencontainers.image.created=${{ steps.prep.outputs.created }} + org.opencontainers.image.source=${{ github.repositoryUrl }} + org.opencontainers.image.version=${{ matrix.version }} + org.opencontainers.image.revision=${{ github.sha }} + org.opencontainers.image.licenses=${{ github.event.repository.license.name }} + tags: ${{ steps.prep.outputs.test_tag }} + platforms: linux/arm64 + context: . + file: ./Dockerfile.${{ matrix.os }} + cache-from: type=gha + cache-to: type=gha,mode=max + + - name: Build (test build linux/amd64) uses: docker/build-push-action@v5.3.0 with: load: true @@ -82,7 +98,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and Push + - name: Build and Push (linux/amd64,linux/arm64) uses: docker/build-push-action@v5.3.0 with: labels: |