File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ workflows:
1515 tag : latest
1616 after_build :
1717 - run :
18- name : Tag and Push with $CIRCLE_BUILD_NUM
18+ name : Tag and Push with $CIRCLE_SHA1
1919 command : |
2020 IMAGE_ID=operationcode/resources-api
21- docker tag ${IMAGE_ID}:latest ${IMAGE_ID}:${CIRCLE_BUILD_NUM }
22- docker push ${IMAGE_ID}:${CIRCLE_BUILD_NUM }
21+ docker tag ${IMAGE_ID}:latest ${IMAGE_ID}:${CIRCLE_SHA1 }
22+ docker push ${IMAGE_ID}:${CIRCLE_SHA1 }
2323 requires :
2424 - build_test
2525 filters :
@@ -29,7 +29,7 @@ workflows:
2929
3030 # Deploy the new docker image to the AWS EKS cluster, staging namespace
3131 - aws-eks/update-container-image :
32- container-image-updates : ' app=operationcode/resources-api:${CIRCLE_BUILD_NUM }'
32+ container-image-updates : ' app=operationcode/resources-api:${CIRCLE_SHA1 }'
3333 cluster-name : ' operationcode-backend'
3434 namespace : ' operationcode-staging'
3535 resource-name : ' deployment/resources-api'
You can’t perform that action at this time.
0 commit comments