mirror of https://github.com/akaunting/docker.git
parent
9df624bd9d
commit
0a50a89c74
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue