File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ pipeline {
6969 sh '''
7070 ./build/aws/assume-role.sh;
7171 aws ecr get-login-password | docker login -u AWS --password-stdin "https://$(aws sts get-caller-identity --query 'Account' --output text).dkr.ecr.$(aws configure get region).amazonaws.com"
72- docker tag cjww-development/gatekeeper:${env.TAG_NAME} 929252955305 .dkr.ecr.eu-west-2 .amazonaws.com/gatekeeper:${env.TAG_NAME}
73- docker push 047459333450 .dkr.ecr.eu-west-2 .amazonaws.com/gatekeeper:${env.TAG_NAME}
72+ docker tag cjww-development/gatekeeper:${env.TAG_NAME} $(aws sts get-caller-identity --query 'Account' --output text) .dkr.ecr.$(aws configure get region) .amazonaws.com/gatekeeper:${env.TAG_NAME}
73+ docker push $(aws sts get-caller-identity --query 'Account' --output text) .dkr.ecr.$(aws configure get region) .amazonaws.com/gatekeeper:${env.TAG_NAME}
7474 '''
7575 }
7676 }
You can’t perform that action at this time.
0 commit comments