Skip to content

Commit

Permalink
Fixes #224
Browse files Browse the repository at this point in the history
  • Loading branch information
haxorof committed May 23, 2024
1 parent e27e2df commit 328f11c
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 328f11c

Please sign in to comment.