Skip to content

Commit

Permalink
fix(ci): build multi-arch images (#287)
Browse files Browse the repository at this point in the history
* fix(ci): build multi-arch images

* run on ubuntu larger runner and prefix tags with v
  • Loading branch information
Zygimantass authored Mar 26, 2024
1 parent 639e767 commit 6472167
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
image: [{file: "slinky.e2e.Dockerfile", name: "slinky-simapp"}, {file: "slinky.sidecar.prod.Dockerfile", name: "slinky-sidecar"}, {file: "slinky.local.Dockerfile", name: "slinky-testapp"},
{file: "slinky.sidecar.e2e.Dockerfile", name: "slinky-e2e-sidecar"}]
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -59,8 +59,8 @@ jobs:
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}
type=semver,pattern=v{{major}}.{{minor}}.{{patch}}
type=semver,pattern=v{{major}}
type=sha,prefix=
- name: Build and push
uses: docker/build-push-action@v5
Expand All @@ -70,6 +70,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: true
platforms: linux/amd64,linux/arm64
- uses: cloudposse/[email protected]
id: out
with:
Expand Down

0 comments on commit 6472167

Please sign in to comment.