Update action.yml

This commit is contained in:
Alexander Aleksandrovič Klimov 2023-03-22 11:48:44 +01:00 committed by GitHub
parent 97521858bd
commit 01e7d543c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ runs:
docker tag icinga/icingaweb2 "icinga/icingaweb2:$TAG"
docker push "icinga/icingaweb2:$TAG"
- if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'
- if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || github.event_name == 'push'
shell: bash
run: |
TAG=master
@ -35,7 +35,7 @@ runs:
docker tag icinga/icingaweb2 "icinga/icingaweb2:$TAG"
docker push "icinga/icingaweb2:$TAG"
- if: github.event_name != 'release' && github.event_name != 'workflow_dispatch' && github.event_name != 'schedule'
- if: github.event_name != 'release' && github.event_name != 'workflow_dispatch' && github.event_name != 'schedule' && github.event_name != 'push'
shell: bash
run: |
'${{ github.action_path }}/build.bash' . snapshot