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

This commit is contained in:
Isaac Abadi
2022-06-26 22:04:42 -04:00
parent fb404d3cee
commit c784091ad6

View File

@@ -36,7 +36,7 @@ jobs:
- name: Set image tag
id: tags
run: |
if [ ${{ github.event.inputs.tags }} == "workflow_dispatch" ]; then
if [ "${{ github.event.inputs.tags }}" != "" ]; 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 }}"