mirror of
https://github.com/usememos/memos.git
synced 2024-12-01 06:34:35 +03:00
chore: support multi-plantform for docker
This commit is contained in:
parent
eb80bc7798
commit
d211f0f474
@ -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
|
||||||
|
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user