I have configured my ECR as an external package feed on Octopus.
I haven’t found many integrations with ECR online so I’ve decided to go with Fabfuel’s approach and use this library: https://github.com/fabfuel/ecs-deploy
The plan is to have ECS Deploy run as a script on the Octopus Server itself and update all services/task definitions.
The script looks like this: ecs deploy $Cluster $Service --tag $OctopusParameters[‘Octopus.Action.Package.PackageVersion’]
Now what I’d like to do is associate my Project with the repository, either by the package id or some other way, so I new tags are identified when creating new releases in Octopus.
Is there any way I can do this?
Also when configuring the package feed in my step I’m getting this error:
The step failed: Activity failed with error ‘The Docker Registry v2 ‘AWS EC2 Container Service’ at https://someurl.amazonaws.com does not support downloading packages on the Octopus Server.’