chore: support multi-plantform for docker

This commit is contained in:
boojack 2022-07-03 20:54:42 +08:00
parent eb80bc7798
commit d211f0f474
2 changed files with 4 additions and 2 deletions

View File

@ -23,9 +23,10 @@ jobs:
- name: Build and Push - name: Build and Push
id: docker_build id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
context: ./ context: ./
file: ./Dockerfile file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true push: true
tags: neosmemo/memos:dev tags: neosmemo/memos:dev

View File

@ -30,9 +30,10 @@ jobs:
- name: Build and Push - name: Build and Push
id: docker_build id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v3
with: with:
context: ./ context: ./
file: ./Dockerfile file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true push: true
tags: neosmemo/memos:${{ env.VERSION }} tags: neosmemo/memos:${{ env.VERSION }}