Skip to content

Commit

Permalink
Update Docker Images to support M1 Mac (alshedivat#1486)
Browse files Browse the repository at this point in the history
I added multi-architecture support for docker images. 

- alshedivat#1469 

ToDo: 
- [ ] Update deploy tag file accrodingly
  • Loading branch information
pourmand1376 authored Jun 30, 2023
1 parent fd1302e commit 396a095
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,23 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
push: true
platforms: linux/amd64,linux/arm64/v8
tags: amirpourmand/al-folio

0 comments on commit 396a095

Please sign in to comment.