mirror of
https://github.com/uniwhale-io/pyth-crosschain.git
synced 2026-01-12 17:12:23 +08:00
Second try (#565)
This commit is contained in:
11
.github/workflows/xc-admin-image-push.yaml
vendored
11
.github/workflows/xc-admin-image-push.yaml
vendored
@@ -21,15 +21,12 @@ jobs:
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::192824654885:role/github-actions-ecr
|
||||
aws-region: eu-west-2
|
||||
- uses: docker/login-action@v2
|
||||
with:
|
||||
registry: public.ecr.aws
|
||||
env:
|
||||
AWS_REGION: us-east-1
|
||||
- uses: aws-actions/amazon-ecr-login@v1
|
||||
id: ecr_login
|
||||
- run: |
|
||||
DOCKER_BUILDKIT=1 docker build -t lerna -f tilt_devnet/docker_images/Dockerfile.lerna .
|
||||
DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f governance/xc_admin/Dockerfile .
|
||||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
|
||||
env:
|
||||
ECR_REGISTRY: public.ecr.aws
|
||||
ECR_REPOSITORY: pyth-network/xc-admin
|
||||
ECR_REGISTRY: ${{ steps.ecr_login.outputs.registry }}
|
||||
ECR_REPOSITORY: xc-admin
|
||||
|
||||
Reference in New Issue
Block a user