feat: docker image support arm platform

This commit is contained in:
vran 2022-06-09 17:42:19 +08:00
parent 1c08145486
commit 893a4da8ee
2 changed files with 2 additions and 0 deletions

View File

@ -41,5 +41,6 @@ jobs:
with: with:
context: . context: .
file: ./local.Dockerfile file: ./local.Dockerfile
platforms: linux/amd64,linux/arm64
push: true push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/databasir:latest tags: ${{ secrets.DOCKER_HUB_USERNAME }}/databasir:latest

View File

@ -50,5 +50,6 @@ jobs:
with: with:
context: . context: .
file: ./local.Dockerfile file: ./local.Dockerfile
platforms: linux/amd64,linux/arm64
push: true push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/databasir:${{ github.event.inputs.tag }} tags: ${{ secrets.DOCKER_HUB_USERNAME }}/databasir:${{ github.event.inputs.tag }}