Skip to content

Commit

Permalink
Merge pull request #1 from bucketeer-io/arm-image-build
Browse files Browse the repository at this point in the history
chore: build arm image
  • Loading branch information
Ubisoft-potato authored Jun 18, 2024
2 parents 76384ba + eedf03d commit dfe804d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- uses: docker/metadata-action@v3
id: meta
with:
images: ${{ env.REGISTRY }}/goccy/bigquery-emulator
images: ${{ env.REGISTRY }}/bucketeer-io/bigquery-emulator
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: setup docker buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: cache for linux
uses: actions/cache@v3
if: runner.os == 'Linux'
Expand All @@ -42,6 +44,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=local,src=~/.cache/go-build
Expand Down

0 comments on commit dfe804d

Please sign in to comment.