Skip to content

Commit

Permalink
fixup workflow_dispatch version
Browse files Browse the repository at this point in the history
  • Loading branch information
malud committed Jan 27, 2023
1 parent 598b01e commit 1d7deae
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ on:
types: [ published ]
workflow_dispatch:
inputs:
docker_tag:
description: 'value to use for override the image tag; <tag> will still be used for checkout'
required: false
tag:
description: 'git tag'
description: 'git tag to checkout'
required: true
# default: ''
jobs:
Expand Down Expand Up @@ -94,7 +97,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}
type=edge,event=branch
type=raw,enable=${{ github.event_name == 'workflow_dispatch' }},value=${{ github.event.inputs.tag }}
type=raw,enable=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.docker_tag != '' }},value=${{ github.event.inputs.docker_tag }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down

0 comments on commit 1d7deae

Please sign in to comment.