Skip to content

Commit

Permalink
Update Tag Deploys to Support M1 Macbooks (alshedivat#1522)
Browse files Browse the repository at this point in the history
I should merge this whenever normal deploy is well-tested for Mac
computers.
  • Loading branch information
pourmand1376 authored and wangmagg committed May 14, 2024
1 parent f3e31c0 commit 23fc628
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy-docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ 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: Docker meta
id: meta
Expand All @@ -25,7 +29,7 @@ jobs:
images: amirpourmand/al-folio

- name: Login
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -34,6 +38,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64/v8
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 23fc628

Please sign in to comment.