Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit 6472167

Browse files
authoredMar 26, 2024··
fix(ci): build multi-arch images (#287)
* fix(ci): build multi-arch images * run on ubuntu larger runner and prefix tags with v
1 parent 639e767 commit 6472167

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎.github/workflows/build.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
image: [{file: "slinky.e2e.Dockerfile", name: "slinky-simapp"}, {file: "slinky.sidecar.prod.Dockerfile", name: "slinky-sidecar"}, {file: "slinky.local.Dockerfile", name: "slinky-testapp"},
1717
{file: "slinky.sidecar.e2e.Dockerfile", name: "slinky-e2e-sidecar"}]
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-latest-m
1919
permissions:
2020
contents: read
2121
packages: write
@@ -59,8 +59,8 @@ jobs:
5959
type=ref,event=branch
6060
type=ref,event=pr
6161
type=semver,pattern={{version}}
62-
type=semver,pattern={{major}}.{{minor}}.{{patch}}
63-
type=semver,pattern={{major}}
62+
type=semver,pattern=v{{major}}.{{minor}}.{{patch}}
63+
type=semver,pattern=v{{major}}
6464
type=sha,prefix=
6565
- name: Build and push
6666
uses: docker/build-push-action@v5
@@ -70,6 +70,7 @@ jobs:
7070
tags: ${{ steps.meta.outputs.tags }}
7171
labels: ${{ steps.meta.outputs.labels }}
7272
push: true
73+
platforms: linux/amd64,linux/arm64
7374
- uses: cloudposse/github-action-matrix-outputs-write@1.0.0
7475
id: out
7576
with:

0 commit comments

Comments
 (0)