Skip to content

Commit

Permalink
Add ARM support
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyTran732 authored Sep 8, 2024
1 parent 048c0da commit 5bd4f4b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- '**.md'
schedule:
# Build the image daily
- cron: '0 1 * * *'
- cron: '15 0 * * *'

env:
REGISTRY: ghcr.io
Expand All @@ -30,6 +30,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

# Add support for more platforms with QEMU
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand All @@ -54,6 +58,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 5bd4f4b

Please sign in to comment.