File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 25
25
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
26
26
env:
27
27
ECR_REGISTRY: ${{ steps.ecr_login.outputs.registry }}
28
- ECR_REPOSITORY: pyth-price
28
+ ECR_REPOSITORY: xc-server
29
+ IMAGE_TAG: ${{ github.sha }}
30
+ p2w-attest-image :
31
+ runs-on : ubuntu-latest
32
+ steps :
33
+ - uses : actions/checkout@v2
34
+ - uses : aws-actions/configure-aws-credentials@v1
35
+ with :
36
+ role-to-assume : arn:aws:iam::192824654885:role/github-actions-ecr
37
+ aws-region : eu-west-2
38
+ - uses : aws-actions/amazon-ecr-login@v1
39
+ id : ecr_login
40
+ - run : |
41
+ DOCKER_BUILDKIT=1 docker build -f Dockerfile.client -t bridge-client .
42
+ DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f third_party/pyth/Dockerfile.p2w-attest .
43
+ docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
44
+ env:
45
+ ECR_REGISTRY: ${{ steps.ecr_login.outputs.registry }}
46
+ ECR_REPOSITORY: xc-attest
29
47
IMAGE_TAG: ${{ github.sha }}
You can’t perform that action at this time.
0 commit comments