Commit d211f0f4 authored by boojack's avatar boojack

chore: support multi-plantform for docker

parent eb80bc77
...@@ -23,9 +23,10 @@ jobs: ...@@ -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: ...@@ -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 }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment