keyshade
keyshade copied to clipboard
Update CI to publish on tag push
Description
We are managing our releases using semantic-release
. Once we push to the main
branch, the release CI runs. It does the following:
- updates the changelog
- creates and publishes a release
- adds a tag to the main branch and pushes it
We would like out api.yml
and web.yml
CIs to listen to this event. In the event of a tag push to main branch OR a release being published, we want to do the following
- fetch the latest tag
- build docker images of the web and api
- tag them with
latest
andv-x.x.x
- push to docker registry