File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,12 @@ jobs:
2121 with :
2222 role-to-assume : arn:aws:iam::192824654885:role/github-actions-ecr
2323 aws-region : eu-west-2
24- - uses : docker/login-action@v2
25- with :
26- registry : public.ecr.aws
27- env :
28- AWS_REGION : us-east-1
24+ - uses : aws-actions/amazon-ecr-login@v1
25+ id : ecr_login
2926 - run : |
3027 DOCKER_BUILDKIT=1 docker build -t lerna -f tilt_devnet/docker_images/Dockerfile.lerna .
3128 DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f governance/xc_admin/Dockerfile .
3229 docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
3330 env:
34- ECR_REGISTRY: public.ecr.aws
35- ECR_REPOSITORY: pyth-network/ xc-admin
31+ ECR_REGISTRY: ${{ steps.ecr_login.outputs.registry }}
32+ ECR_REPOSITORY: xc-admin
You can’t perform that action at this time.
0 commit comments