mirror of https://github.com/buster-so/buster.git
Fix Docker context paths in GitHub workflows - change ./api to ./apps/api
Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
This commit is contained in:
parent
152825758b
commit
9e461f9948
|
@ -31,8 +31,8 @@ jobs:
|
|||
- name: Build and Load API Docker Image
|
||||
uses: useblacksmith/build-push-action@v1
|
||||
with:
|
||||
context: ./api
|
||||
file: ./api/Dockerfile
|
||||
context: ./apps/api
|
||||
file: ./apps/api/Dockerfile
|
||||
push: false # Do not push, load locally for service container
|
||||
load: true # Load the image into the runner's Docker daemon
|
||||
tags: local-api-test:latest # Tag for the service definition
|
||||
|
|
|
@ -103,8 +103,8 @@ jobs:
|
|||
- name: Build and push API image
|
||||
uses: useblacksmith/build-push-action@v1
|
||||
with:
|
||||
context: ./api
|
||||
file: ./api/Dockerfile
|
||||
context: ./apps/api
|
||||
file: ./apps/api/Dockerfile
|
||||
push: true
|
||||
platforms: ${{ matrix.docker_platform }}
|
||||
tags: |
|
||||
|
@ -199,4 +199,4 @@ jobs:
|
|||
else
|
||||
echo "Failed to set package $ORG_NAME/${{ env.WEB_IMAGE_NAME }} visibility to public. HTTP Status: $RESPONSE_CODE"
|
||||
# Optionally, fail the step: exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -69,8 +69,8 @@ jobs:
|
|||
- name: Build & Load API Docker Image
|
||||
uses: useblacksmith/build-push-action@v1
|
||||
with:
|
||||
context: ./api
|
||||
file: ./api/Dockerfile
|
||||
context: ./apps/api
|
||||
file: ./apps/api/Dockerfile
|
||||
push: false
|
||||
load: true
|
||||
tags: local-api-test:latest
|
||||
|
@ -199,4 +199,4 @@ jobs:
|
|||
if: always()
|
||||
run: |
|
||||
docker stop local-api
|
||||
docker rm local-api
|
||||
docker rm local-api
|
||||
|
|
Loading…
Reference in New Issue