Skip to content

Commit

Permalink
ci: Build Docker image for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
prantlf committed Jun 2, 2024
1 parent 0f1e6df commit 0cf3ebb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,13 @@ jobs:
with:
files: ${{ needs.linux.outputs.changed-files }}
discard-shelf: false
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: hadolint/[email protected]
- uses: docker/build-push-action@v5
with:
push: false
platforms: linux/amd64,linux/arm64

release:
if: ${{ github.ref_name == 'master' && needs.linux.outputs.changed == 'true' }}
Expand Down Expand Up @@ -180,6 +183,8 @@ jobs:
- uses: prantlf/unshelve-changes-action@v2
with:
files: ${{ needs.linux.outputs.changed-files }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/metadata-action@v5
id: meta
with:
Expand All @@ -204,3 +209,4 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ And the same task as above, only using Docker Compose (place [docker-compose.yml

docker-compose up -d

The image is available as both `ghcr.io/prantlf/ovai` (GitHub) or `prantlf/ovai` (DockerHub).

### Building

Make sure that you have installed [Go] 1.22 or newer.
Expand Down

0 comments on commit 0cf3ebb

Please sign in to comment.