Skip to content

Commit b671669

Browse files
authored
Add arm64 image (#219)
1 parent 9bb623c commit b671669

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,27 @@ jobs:
2929
steps:
3030
- name: Checkout repository
3131
uses: actions/checkout@v3
32+
- name: Set up QEMU
33+
uses: docker/setup-qemu-action@v3
34+
- name: Set up Docker Buildx
35+
uses: docker/setup-buildx-action@v3
3236
- name: Log in to the Container registry
33-
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
37+
uses: docker/login-action@v3
3438
with:
3539
registry: ${{ env.REGISTRY }}
3640
username: ${{ github.actor }}
3741
password: ${{ secrets.GITHUB_TOKEN }}
3842

3943
- name: Extract metadata (tags, labels) for Docker
4044
id: meta
41-
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
45+
uses: docker/metadata-action@v5
4246
with:
4347
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4448

4549
- name: Build and push Docker image
4650
uses: docker/build-push-action@v4
4751
with:
52+
platforms: linux/amd64,linux/arm64/v8
4853
target: production
4954
push: true
5055
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)