keyshade icon indicating copy to clipboard operation
keyshade copied to clipboard

Update CI to publish on tag push

Open rajdip-b opened this issue 1 year ago • 0 comments

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 and v-x.x.x
  • push to docker registry

rajdip-b avatar Feb 09 '24 06:02 rajdip-b