diff --git a/.github/workflows/publish_docker.yml b/.github/workflows/publish_docker.yml index 8dedf01..3dd0466 100644 --- a/.github/workflows/publish_docker.yml +++ b/.github/workflows/publish_docker.yml @@ -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 }} \ No newline at end of file