Skip to content

Commit 4bbf13b

Browse files
authored
Update Docker Images to support M1 Mac (alshedivat#1486)
I added multi-architecture support for docker images. - alshedivat#1469 ToDo: - [ ] Update deploy tag file accrodingly
1 parent 8f3ecfa commit 4bbf13b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/deploy-image.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,23 @@ 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
22+
uses: docker/setup-buildx-action@v2
1923

2024
- name: Login
21-
uses: docker/login-action@v1
25+
uses: docker/login-action@v2
2226
with:
2327
username: ${{ secrets.DOCKER_USERNAME }}
2428
password: ${{ secrets.DOCKER_PASSWORD }}
2529

2630
- name: Build and push
27-
uses: docker/build-push-action@v2
31+
uses: docker/build-push-action@v4
2832
with:
2933
context: .
3034
push: true
35+
platforms: linux/amd64,linux/arm64/v8
3136
tags: amirpourmand/al-folio

0 commit comments

Comments
 (0)