Skip to content

Commit 60bacc2

Browse files
committed
Add Docker image build step to GitHub Actions workflow
- Introduced a new step to build the Docker image for the FastAPI application, enhancing the CI/CD process. - The step includes output verification of the built image, ensuring successful creation.
1 parent c6af51d commit 60bacc2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/gbf_vector.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ jobs:
3838
run: |
3939
echo "docker_host=unix://${HOME}/.colima/default/docker.sock" >> $GITHUB_OUTPUT
4040
41+
- name: Build Docker Image
42+
env:
43+
DOCKER_HOST: ${{ steps.docker-env.outputs.docker_host }}
44+
run: |
45+
cd docker
46+
docker build -t fastapi-app .
47+
docker images | grep fastapi-app
48+
4149
- name: Run Vector Action
4250
uses: ./
4351
env:

0 commit comments

Comments
 (0)