File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
governance/xc_admin/packages/xc_admin_frontend Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and Push Cross Chain Admin Frontend
2
2
on :
3
+ pull_request :
3
4
push :
4
5
branches : [main]
5
6
paths : [governance/xc_admin/**]
22
23
aws-region : eu-west-2
23
24
- uses : aws-actions/amazon-ecr-login@v1
24
25
id : ecr_login
25
- - run : |
26
+ - name : Build docker image
27
+ run : |
26
28
DOCKER_BUILDKIT=1 docker build -t lerna -f tilt_devnet/docker_images/Dockerfile.lerna .
27
29
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f governance/xc_admin/packages/xc_admin_frontend/Dockerfile .
30
+ env :
31
+ ECR_REGISTRY : ${{ steps.ecr_login.outputs.registry }}
32
+ ECR_REPOSITORY : xc-admin-frontend
33
+ - name : Push docker image
34
+ if : github.ref == 'refs/heads/main'
35
+ run : |
28
36
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
29
37
env :
30
38
ECR_REGISTRY : ${{ steps.ecr_login.outputs.registry }}
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ USER 1000
8
8
9
9
COPY --chown=1000:1000 governance/xc_admin governance/xc_admin
10
10
COPY --chown=1000:1000 pythnet/message_buffer pythnet/message_buffer
11
+ COPY --chown=1000:1000 target_chains/ethereum/sdk/solidity target_chains/ethereum/sdk/solidity
12
+ COPY --chown=1000:1000 governance/xc_governance_sdk_js governance/xc_governance_sdk_js
11
13
12
14
ENV NODE_ENV production
13
15
ENV NEXT_TELEMETRY_DISABLED 1
You can’t perform that action at this time.
0 commit comments