platforms
This commit is contained in:
10
.github/workflows/publish_docker.yml
vendored
10
.github/workflows/publish_docker.yml
vendored
@@ -25,8 +25,10 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: 'ubuntu_act_on_20'
|
default: 'ubuntu_act_on_20'
|
||||||
|
platforms:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: 'linux/amd64,linux/arm64'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-docker-image:
|
publish-docker-image:
|
||||||
@@ -82,9 +84,7 @@ jobs:
|
|||||||
version=${{ steps.meta.outputs.version }}
|
version=${{ steps.meta.outputs.version }}
|
||||||
context: ${{ inputs.docker_context }}
|
context: ${{ inputs.docker_context }}
|
||||||
file: ${{ inputs.dockerfile_path }}
|
file: ${{ inputs.dockerfile_path }}
|
||||||
platforms: |
|
platforms: ${{ inputs.platforms }}
|
||||||
linux/amd64
|
|
||||||
linux/arm64
|
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
Reference in New Issue
Block a user