Skip to content

Commit

Permalink
SP-2292 - Add Version-Timestamp main build docker tag #minor (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
sixdaysandy authored Sep 10, 2024
1 parent 4a90ca9 commit 2da2006
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ jobs:
docker tag 311462405659.dkr.ecr.eu-west-1.amazonaws.com/sirius/sirius-lpa-dashboard:latest $ECR_REGISTRY/$ECR_REPOSITORY:${{ needs.identify.outputs.tag }}
if [ "${{ needs.identify.outputs.branch }}" == "main" ]; then
docker tag 311462405659.dkr.ecr.eu-west-1.amazonaws.com/sirius/sirius-lpa-dashboard:latest $ECR_REGISTRY/$ECR_REPOSITORY:main-${{ needs.identify.outputs.tag }}
docker tag 311462405659.dkr.ecr.eu-west-1.amazonaws.com/sirius/sirius-lpa-dashboard:latest $ECR_REGISTRY/$ECR_REPOSITORY:main-${{ needs.identify.outputs.tag }}-$(date +"%Y%m%d%H%M%S")
# We want all of the tags pushed
docker push --all-tags $ECR_REGISTRY/$ECR_REPOSITORY
else
Expand Down

0 comments on commit 2da2006

Please sign in to comment.