Skip to content

Commit

Permalink
Update call of inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
tmknight committed Jan 20, 2024
1 parent 72461a4 commit d279282
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/image-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ env:
# build context
CONTEXT: .
# image distro
DISTRO: ${{ github.event.inputs.distro }}
DISTRO: ${{ inputs.distro }}
# image release
RELEASE: ${{ github.event.inputs.release }}
RELEASE: ${{ inputs.release }}
# build arguments to be created in first step
BUILD_ARGS: ''
IMAGE_PATHS: ''
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
type=ref,event=branch,enable=${{ github.event_name != 'schedule' && github.ref_name != 'main' }}
type=ref,event=tag
type=schedule,pattern=nightly
type=raw,enable=${{ github.event.inputs.latest }},value=latest
type=raw,enable=${{ inputs.latest }},value=latest
type=raw,enable=true,value=${{ env.DISTRO }}-${{ env.RELEASE }}
type=raw,enable=${{ env.RELEASE == 'stable' }},value=${{ env.DISTRO }}
Expand Down

0 comments on commit d279282

Please sign in to comment.