Skip to content

Commit

Permalink
ci: build with arm64 support (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka authored Dec 14, 2024
1 parent 89c2ef4 commit ae4e70e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,24 @@ env:
IMAGE_NAME: ${{ github.repository }}
jobs:
docker:
runs-on: ubuntu-latest
# Add permission to push to GHCR
strategy:
matrix:
runner: [ubuntu-latest, ubuntu-latest-arm64]
runs-on: ${{ matrix.runner }}
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4

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

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push hyperion-proxy
uses: docker/build-push-action@v5
with:
Expand All @@ -39,7 +38,6 @@ jobs:
${{ env.REGISTRY }}/${{ github.repository }}/hyperion-proxy:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Build and push tag
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit ae4e70e

Please sign in to comment.