Fix wrong branch names (#227)

* Fix wrong branch names

* add logging

* Add more log and test buildkit

* Remove loggings
This commit is contained in:
Ali Behjati 2022-06-23 18:41:13 +02:00 committed by GitHub
parent 4d5664a79f
commit 4667c5fd12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ on:
pull_request: pull_request:
push: push:
branches: branches:
- dev.v2 - main
jobs: jobs:
# Run the full Tilt build and wait for it to converge # Run the full Tilt build and wait for it to converge
tilt: tilt:

View File

@ -1,9 +1,9 @@
name: Build and Push Images name: Build and Push Images
on: on:
push: push:
branches: [ master ] branches: [ main ]
pull_request: pull_request:
branches: [ master ] branches: [ main ]
permissions: permissions:
contents: read contents: read
@ -21,7 +21,7 @@ jobs:
id: ecr_login id: ecr_login
- run: | - run: |
DOCKER_BUILDKIT=1 docker build -f Dockerfile.wasm -o type=local,dest=. . DOCKER_BUILDKIT=1 docker build -f Dockerfile.wasm -o type=local,dest=. .
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f third_party/pyth/price-service/Dockerfile.price_service . DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f third_party/pyth/price-service/Dockerfile.price_service .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
env: env:
ECR_REGISTRY: ${{ steps.ecr_login.outputs.registry }} ECR_REGISTRY: ${{ steps.ecr_login.outputs.registry }}

View File

@ -4,7 +4,7 @@ on:
pull_request: pull_request:
push: push:
branches: branches:
- dev.v2 - main
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always