Skip to content

Commit b2989ea

Browse files
authored
Update Tag Deploys to Support M1 Macbooks (alshedivat#1522)
I should merge this whenever normal deploy is well-tested for Mac computers.
1 parent 2d4ad85 commit b2989ea

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/deploy-docker-tag.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v3
17+
18+
- name: Set up QEMU
19+
uses: docker/setup-qemu-action@v2
20+
1721
- name: Buildx
18-
uses: docker/setup-buildx-action@v1
19-
22+
uses: docker/setup-buildx-action@v2
23+
2024
-
2125
name: Docker meta
2226
id: meta
@@ -25,7 +29,7 @@ jobs:
2529
images: amirpourmand/al-folio
2630

2731
- name: Login
28-
uses: docker/login-action@v1
32+
uses: docker/login-action@v2
2933
with:
3034
username: ${{ secrets.DOCKER_USERNAME }}
3135
password: ${{ secrets.DOCKER_PASSWORD }}
@@ -34,6 +38,7 @@ jobs:
3438
uses: docker/build-push-action@v3
3539
with:
3640
context: .
41+
platforms: linux/amd64,linux/arm64/v8
3742
push: ${{ github.event_name != 'pull_request' }}
3843
tags: ${{ steps.meta.outputs.tags }}
3944
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)