Add p2w-attest image (#250)
* Add p2w-attest image Also rename pyth-price to xc-server * bugfix
This commit is contained in:
parent
6fc11fc289
commit
2a5b98187b
|
@ -25,5 +25,23 @@ jobs:
|
|||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
|
||||
env:
|
||||
ECR_REGISTRY: ${{ steps.ecr_login.outputs.registry }}
|
||||
ECR_REPOSITORY: pyth-price
|
||||
ECR_REPOSITORY: xc-server
|
||||
IMAGE_TAG: ${{ github.sha }}
|
||||
p2w-attest-image:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::192824654885:role/github-actions-ecr
|
||||
aws-region: eu-west-2
|
||||
- uses: aws-actions/amazon-ecr-login@v1
|
||||
id: ecr_login
|
||||
- run: |
|
||||
DOCKER_BUILDKIT=1 docker build -f Dockerfile.client -t bridge-client .
|
||||
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f third_party/pyth/Dockerfile.p2w-attest .
|
||||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
|
||||
env:
|
||||
ECR_REGISTRY: ${{ steps.ecr_login.outputs.registry }}
|
||||
ECR_REPOSITORY: xc-attest
|
||||
IMAGE_TAG: ${{ github.sha }}
|
||||
|
|
Loading…
Reference in New Issue