Fix wrong branch names (#227)
* Fix wrong branch names * add logging * Add more log and test buildkit * Remove loggings
This commit is contained in:
parent
4d5664a79f
commit
4667c5fd12
|
@ -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:
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue