Skip to content

Commit

Permalink
Update container CI to use buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjtaylor committed Nov 4, 2024
1 parent a503403 commit ac49ffd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/container-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name : Set up QEMU
uses: docker/setup-qemu-action@v3

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

- name: Extract Docker metadata
id: metadata
uses: docker/metadata-action@v4
Expand All @@ -48,10 +54,10 @@ jobs:
latest
- name: Build and push to GHCR
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
platforms: "linux/amd64,linux/arm64"
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}

0 comments on commit ac49ffd

Please sign in to comment.