Add ARM and ARM64 support

closes #21
This commit is contained in:
Mohammed Al-Mahdawi 2021-04-05 16:57:37 +03:00
parent 9df624bd9d
commit 0a50a89c74
1 changed files with 5 additions and 1 deletions

View File

@ -28,6 +28,10 @@ jobs:
echo -n "::set-output name=tags::akaunting/akaunting:"
echo "$GITHUB_REF" | cut -d/ -f3- | tr '/' '_'
fi
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
@ -39,6 +43,6 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm/v6,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.define-tags.outputs.tags }}