Creating Octopus release automatically at each push to ECR

I have a requirement where We would like to create an Octopus Release automatically whenever an there is a docker image pushed to ECR. Any idea on how this can be achieved?


Hi @rahul.bhoyar

I think one way would be to have something listening for the ECR events of when an image is pushed and then have that event kick off a release via using the Octopus CLI’s create-release command. The create-release command uses the Octopus API, so as long as wherever is consuming the ECR event can access your Octopus instance the command will run.

If you have any other questions let me know!
Kind Regards