Closed asoorm closed 3 years ago
https://github.com/TykTechnologies/tyk-operator/blob/master/.github/workflows/release_tag.yaml#L9-L11 is setup such that it is triggered when a tag is pushed. It can be configured to operate on master.
goreleaser has been configured to always push the latest tag on every image it pushes.
Please add this to the DevOps jira if you'd like one of us to work on it, but it is a small change that can be made by anyone really. Happy to hop on a zoom with anyone who is interested.
@alephnull I created a jira ticket to track this with additional details https://tyktech.atlassian.net/browse/TT-1617 please take a look at it.
At present, latest docker image is only built when we cut a release. This causes problems, because master branch of tyk-operator (CRDs) might then be out-of-sync with the tyk-operator:latest docker tag. We also must consider the use-case for making release-candidates available.
Currently we have goreleaser.yaml with
Which we is executed when we push a release tag like
v0.5.0
What we need is:
When we marge/push any change to master, a workflow should be triggered that only builds latest docker image
And when we push a release candidate
v0.5.0-rc1
only build docker image for that specific tagWhen we push a release tag
v0.5.0
don't tag latest