mirror of
https://github.com/tiennm99/serena.git
synced 2026-09-04 02:18:39 +00:00
ci: publish ARM-based Docker image too
Without ARM support, this is harder to use on MacBook Pros. I copied the `platforms` tag example from the Docker docs. https://docs.docker.com/build/ci/github-actions/multi-platform/
This commit is contained in:
@@ -50,6 +50,7 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
target: production
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
@@ -61,6 +62,7 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
target: development
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
Reference in New Issue
Block a user