Skip to content

Commit

Permalink
fix: build multi-arch image
Browse files Browse the repository at this point in the history
  • Loading branch information
juliuste committed Sep 18, 2023
1 parent 592afa6 commit a9ef100
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/legacy-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -25,6 +28,7 @@ jobs:
uses: docker/build-push-action@v3
with:
file: ./legacy-proxy/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{github.repository}}-legacy-proxy:v1_${{steps.hash.outputs.hash}}_${{steps.datetime.outputs.datetime}}
cache-from: type=gha
Expand Down

0 comments on commit a9ef100

Please sign in to comment.