From 14663be364bfa1a2e76375b177a4bfebb0521b82 Mon Sep 17 00:00:00 2001 From: Colin Griffin Date: Fri, 20 May 2022 14:02:24 -0400 Subject: [PATCH] build using docker compose --- .github/workflows/test-docker-build.yml | 32 ++++++++++++++----------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test-docker-build.yml b/.github/workflows/test-docker-build.yml index 14a9333..0cc182e 100644 --- a/.github/workflows/test-docker-build.yml +++ b/.github/workflows/test-docker-build.yml @@ -46,20 +46,24 @@ jobs: run: | docker compose up -d database - - name: Build and push image - id: docker_build - uses: docker/build-push-action@v2 - with: - context: ./ - file: ./Dockerfile - push: false - # The test image is /docker and is private. final image will be /calendso and public - tags: docker.io/${{ secrets.DOCKER_HUB_USERNAME }}/calendso:canary - network: stack - build-args: | - BASE_URL=http://localhost:3000 - NEXT_PUBLIC_APP_URL=http://localhost:3000 - DATABASE_URL=${DATABASE_URL} + # - name: Build and push image + # id: docker_build + # uses: docker/build-push-action@v2 + # with: + # context: ./ + # file: ./Dockerfile + # push: false + # # The test image is /docker and is private. final image will be /calendso and public + # tags: docker.io/${{ secrets.DOCKER_HUB_USERNAME }}/calendso:canary + # network: stack + # build-args: | + # BASE_URL=http://localhost:3000 + # NEXT_PUBLIC_APP_URL=http://localhost:3000 + # DATABASE_URL=${DATABASE_URL} + + - name: Build with docker compose + run: | + docker compose build calcom - name: Cleanup run: |