Skip to content

Commit

Permalink
ci: docker build workflow checkout input
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewPattell committed Feb 21, 2024
1 parent 3314321 commit 884ae3f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ssr-boost-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
required: false
type: boolean
default: false
should-checkout:
required: false
type: boolean
default: false
secrets:
github-token:
required: true
Expand All @@ -40,6 +44,9 @@ jobs:
image-tag: ${{ fromJSON(steps.meta.outputs.json).tags[0] }}

steps:
- uses: actions/checkout@v4
if: ${{ inputs.should-checkout }}

- uses: actions/download-artifact@v4
if: ${{ !inputs.should-skip-artifacts }}
with:
Expand Down

0 comments on commit 884ae3f

Please sign in to comment.