Skip to content

Commit ae4e70e

Browse files
ci: build with arm64 support (#711)
1 parent 89c2ef4 commit ae4e70e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,24 @@ env:
99
IMAGE_NAME: ${{ github.repository }}
1010
jobs:
1111
docker:
12-
runs-on: ubuntu-latest
13-
# Add permission to push to GHCR
12+
strategy:
13+
matrix:
14+
runner: [ubuntu-latest, ubuntu-latest-arm64]
15+
runs-on: ${{ matrix.runner }}
1416
permissions:
1517
contents: read
1618
packages: write
1719
steps:
1820
- name: Checkout repository
1921
uses: actions/checkout@v4
20-
2122
- name: Set up Docker Buildx
2223
uses: docker/setup-buildx-action@v3
23-
2424
- name: Log in to GitHub Container Registry
2525
uses: docker/login-action@v3
2626
with:
2727
registry: ${{ env.REGISTRY }}
2828
username: ${{ github.actor }}
2929
password: ${{ secrets.GITHUB_TOKEN }}
30-
3130
- name: Build and push hyperion-proxy
3231
uses: docker/build-push-action@v5
3332
with:
@@ -39,7 +38,6 @@ jobs:
3938
${{ env.REGISTRY }}/${{ github.repository }}/hyperion-proxy:${{ github.sha }}
4039
cache-from: type=gha
4140
cache-to: type=gha,mode=max
42-
4341
- name: Build and push tag
4442
uses: docker/build-push-action@v5
4543
with:

0 commit comments

Comments
 (0)