Skip to content

Commit 174ada0

Browse files
committed
Merge branch 'pr/punkle/593'
2 parents ab46530 + 3e1b76f commit 174ada0

File tree

4 files changed

+31
-7
lines changed

4 files changed

+31
-7
lines changed

.github/workflows/docker-release-quayio-alpine.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,20 @@ jobs:
1717
steps:
1818
- name: Check out the repo
1919
uses: actions/checkout@v2
20-
20+
21+
- name: Set up QEMU
22+
uses: docker/setup-qemu-action@v3
23+
24+
- name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v3
26+
2127
- name: Log in to Docker repository
2228
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
2329
with:
2430
registry: ${{ env.DOCKER_REPO }}
2531
username: ${{ secrets.QUAYIO_ROBOT_USERNAME }}
2632
password: ${{ secrets.QUAYIO_ROBOT_PASSWORD }}
27-
33+
2834
- name: Extract metadata (tags, labels) for Docker
2935
id: meta
3036
uses: docker/metadata-action@a67f45cb0f8e65cf693a0bc5bfa1c5057c623030
@@ -36,12 +42,15 @@ jobs:
3642
type=ref,event=branch
3743
type=semver,pattern={{version}}
3844
type=semver,pattern={{major}}.{{minor}}
39-
45+
4046
- name: Build and push Docker image using Dockerfile.alpine
4147
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
4248
with:
4349
file: Dockerfile.alpine
4450
context: .
4551
push: ${{ github.event_name != 'pull_request' }}
4652
tags: ${{ steps.meta.outputs.tags }}
47-
labels: ${{ steps.meta.outputs.labels }}
53+
labels: ${{ steps.meta.outputs.labels }}
54+
platforms: |
55+
linux/amd64
56+
linux/arm64

.github/workflows/docker-release-quayio.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,20 @@ jobs:
1717
steps:
1818
- name: Check out the repo
1919
uses: actions/checkout@v2
20-
20+
21+
- name: Set up QEMU
22+
uses: docker/setup-qemu-action@v3
23+
24+
- name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v3
26+
2127
- name: Log in to Docker repository
2228
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
2329
with:
2430
registry: ${{ env.DOCKER_REPO }}
2531
username: ${{ secrets.QUAYIO_ROBOT_USERNAME }}
2632
password: ${{ secrets.QUAYIO_ROBOT_PASSWORD }}
27-
33+
2834
- name: Extract metadata (tags, labels) for Docker
2935
id: meta
3036
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
@@ -34,11 +40,14 @@ jobs:
3440
type=ref,event=branch
3541
type=semver,pattern={{version}}
3642
type=semver,pattern={{major}}.{{minor}}
37-
43+
3844
- name: Build and push Docker image using Dockerfile
3945
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
4046
with:
4147
context: .
4248
push: ${{ github.event_name != 'pull_request' }}
4349
tags: ${{ steps.meta.outputs.tags }}
4450
labels: ${{ steps.meta.outputs.labels }}
51+
platforms: |
52+
linux/amd64
53+
linux/arm64

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
Coming soon! Please document any work in progress here as part of your PR. It will be moved to the next tag when released.
66

7+
## v0.43.0
8+
9+
- support multi-platform / multi-arch builds for published Docker images including `linux/amd64` and `linux/arm64`
10+
711
## v0.42.0
812

913
- [fix auth to github](https://github.com/vouch/vouch-proxy/pull/601)

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ an `alpine` based container built from `Dockerfile.alpine`
333333
- `quay.io/vouch/vouch-proxy:alpine-latest`
334334
- `quay.io/vouch/vouch-proxy:alpine-x.y.z`
335335

336+
As of `v0.43.0` both of these images are [Multi-platform builds](https://docs.docker.com/build/building/multi-platform/) supporting `linux/amd64` and `linux/arm64`.
337+
336338
Vouch Proxy `arm` images are available on [Docker Hub](https://hub.docker.com/r/voucher/vouch-proxy/)
337339

338340
- `voucher/vouch-proxy:latest-arm`

0 commit comments

Comments
 (0)