- Build
- Build and test Haskell code
- Build Docker image
- Draft
- Create a GH draft release with a static binary
- Release
- Upload the Docker image ghcr.io
- Upload the package and docs to Hackage
graph LR
event[GH Event]-->|on push|Build
event-->|tag created|Draft
Draft-->|create draft release|End
event-->|release published|Release
Release-->|upload artifacts to Hackage/GHCR|End
Build-->End