aws / graph-explorer

React-based web application that enables users to visualize both property graph and RDF data and explore connections between data without having to write graph queries.
https://github.com/aws/graph-explorer
Apache License 2.0
314 stars 46 forks source link

Add step to apply latest tag to docker image for releases #320

Closed kmcginnes closed 4 months ago

kmcginnes commented 4 months ago

Description

Adds a step to the Docker workflow that will only be run when performing a release. This step will assign the latest tag to the build and push to the ECR repository.

Validation

I tested this by running the workflow locally using act. I created a public ECR repo in my AWS account and used my own secrets to perform the push.

I verified the new step will not run when image_tag != 'release'. I also verified that when it does run for a release it will push both the version tag and the latest tag. It will also push the SageMaker build with the sagemaker-latest tag. It will replace any existing latest tags with the new version.

Related Issues

Addresses #315

Check List