mirror of https://github.com/usememos/memos.git
chore: support multi-plantform for docker
This commit is contained in:
parent
eb80bc7798
commit
d211f0f474
|
|
@ -23,9 +23,10 @@ jobs:
|
|||
|
||||
- name: Build and Push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: neosmemo/memos:dev
|
||||
|
|
|
|||
|
|
@ -30,9 +30,10 @@ jobs:
|
|||
|
||||
- name: Build and Push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: neosmemo/memos:${{ env.VERSION }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue