diff --git a/.github/workflows/publish_docker.yml b/.github/workflows/publish_docker.yml index fffa135..c429eaf 100644 --- a/.github/workflows/publish_docker.yml +++ b/.github/workflows/publish_docker.yml @@ -3,15 +3,22 @@ name: publish on: workflow_call: inputs: + artifact-skip: + required: false + type: boolean + default: false artifact-name: - required: true + required: false type: string + default: 'artifact' docker_context: - required: true + required: false type: string + default: '.' dockerfile_path: - required: true + required: false type: string + default: './Dockerfile' jobs: @@ -23,6 +30,7 @@ jobs: RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/download-artifact@v3 + if: ${{ ! inputs.artifact-skip}} with: name: ${{ inputs.artifact-name }}