artifact skip
This commit is contained in:
14
.github/workflows/publish_docker.yml
vendored
14
.github/workflows/publish_docker.yml
vendored
@@ -3,15 +3,22 @@ name: publish
|
|||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
|
artifact-skip:
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
artifact-name:
|
artifact-name:
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
default: 'artifact'
|
||||||
docker_context:
|
docker_context:
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
default: '.'
|
||||||
dockerfile_path:
|
dockerfile_path:
|
||||||
required: true
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
default: './Dockerfile'
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -23,6 +30,7 @@ jobs:
|
|||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
|
if: ${{ ! inputs.artifact-skip}}
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.artifact-name }}
|
name: ${{ inputs.artifact-name }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user