Fixed issue where docker-release action couldn't accept inputs

pull/643/head
Isaac Abadi 3 years ago
parent 68c2ee26ff
commit fb404d3cee

@ -36,7 +36,7 @@ jobs:
- name: Set image tag
id: tags
run: |
if [ ${{ github.event.action }} == "workflow_dispatch" ]; then
if [ ${{ github.event.inputs.tags }} == "workflow_dispatch" ]; then
echo "::set-output name=tags::${{ github.event.inputs.tags }}"
elif [ ${{ github.event.action }} == "release" ]; then
echo "::set-output name=tags::${{ github.event.release.tag_name }}"

Loading…
Cancel
Save