PrefectHQ / prefect-operator

A Kubernetes operator for managing Prefect servers and work pools
10 stars 0 forks source link

Fix production docker image name #68

Closed mitchnielsen closed 2 months ago

mitchnielsen commented 2 months ago

Returning '' is considered null in GitHub's action evaluation, which was causing it to always return the '-dev'-suffixed image name.

This revamps the image name calculation so it returns a valid string in both cases.

Related to https://github.com/PrefectHQ/prefect-operator/issues/66

parkedwards commented 2 months ago

You're discovering the joy of trying to use logic in yaml

mitchnielsen commented 2 months ago

image