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 11name : Build and Push Cross Chain Admin Frontend
22on :
3+ pull_request :
34 push :
45 branches : [main]
56 paths : [governance/xc_admin/**]
2223 aws-region : eu-west-2
2324 - uses : aws-actions/amazon-ecr-login@v1
2425 id : ecr_login
25- - run : |
26+ - name : Build docker image
27+ run : |
2628 DOCKER_BUILDKIT=1 docker build -t lerna -f tilt_devnet/docker_images/Dockerfile.lerna .
2729 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 : |
2836 docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
2937 env :
3038 ECR_REGISTRY : ${{ steps.ecr_login.outputs.registry }}
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ USER 1000
88
99COPY --chown=1000:1000 governance/xc_admin governance/xc_admin
1010COPY --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
1113
1214ENV NODE_ENV production
1315ENV NEXT_TELEMETRY_DISABLED 1
You can’t perform that action at this time.
0 commit comments