Only trigger Docker build on release completion

Also clean up other unneeded triggers.
This commit is contained in:
Matthias 2024-01-05 16:35:27 +01:00
parent 29b80d906b
commit d2df655fff

View file

@ -1,19 +1,17 @@
name: Docker
on:
repository_dispatch:
workflow_dispatch:
workflow_run:
workflows: ["release"]
workflows:
- release
types:
- completed
push:
branches:
- "master"
tags:
- "v*.*.*"
- master
pull_request:
branches:
- "master"
- master
env:
IMAGE_NAME: lycheeverse/lychee