From 4c6b84c09727bef19a575f2fba5ad32e125d10b4 Mon Sep 17 00:00:00 2001 From: CaKrome <29881067+CaKrome@users.noreply.github.com> Date: Sun, 2 Jun 2024 20:36:35 -0400 Subject: [PATCH] fix CI --- .github/workflows/docker-image.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1a6fbdb..79b70d3 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -4,17 +4,24 @@ on: workflow_dispatch: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: build-docker-image: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Build Docker image - working-directory: . - run: docker compose build + - name: Checkout + uses: actions/checkout@v4 + + - name: Create .env file + run: | + cp .env.sample .env + shell: bash + + - name: Build Docker image + working-directory: . + run: docker compose build