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
|
||||
type: string
|
||||
default: 'ubuntu_act_on_20'
|
||||
|
||||
|
||||
platforms:
|
||||
required: false
|
||||
type: string
|
||||
default: 'linux/amd64,linux/arm64'
|
||||
|
||||
jobs:
|
||||
publish-docker-image:
|
||||
@@ -82,9 +84,7 @@ jobs:
|
||||
version=${{ steps.meta.outputs.version }}
|
||||
context: ${{ inputs.docker_context }}
|
||||
file: ${{ inputs.dockerfile_path }}
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
platforms: ${{ inputs.platforms }}
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
Reference in New Issue
Block a user