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:
21
21
with :
22
22
role-to-assume : arn:aws:iam::192824654885:role/github-actions-ecr
23
23
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
29
26
- run : |
30
27
DOCKER_BUILDKIT=1 docker build -t lerna -f tilt_devnet/docker_images/Dockerfile.lerna .
31
28
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f governance/xc_admin/Dockerfile .
32
29
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
33
30
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