Merge pull request #119 from calcom/feature/docker-compose-build-workflow
build using docker compose
This commit is contained in:
32
.github/workflows/test-docker-build.yml
vendored
32
.github/workflows/test-docker-build.yml
vendored
@@ -46,20 +46,24 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker compose up -d database
|
docker compose up -d database
|
||||||
|
|
||||||
- name: Build and push image
|
# - name: Build and push image
|
||||||
id: docker_build
|
# id: docker_build
|
||||||
uses: docker/build-push-action@v2
|
# uses: docker/build-push-action@v2
|
||||||
with:
|
# with:
|
||||||
context: ./
|
# context: ./
|
||||||
file: ./Dockerfile
|
# file: ./Dockerfile
|
||||||
push: false
|
# push: false
|
||||||
# The test image is /docker and is private. final image will be /calendso and public
|
# # The test image is /docker and is private. final image will be /calendso and public
|
||||||
tags: docker.io/${{ secrets.DOCKER_HUB_USERNAME }}/calendso:canary
|
# tags: docker.io/${{ secrets.DOCKER_HUB_USERNAME }}/calendso:canary
|
||||||
network: stack
|
# network: stack
|
||||||
build-args: |
|
# build-args: |
|
||||||
BASE_URL=http://localhost:3000
|
# BASE_URL=http://localhost:3000
|
||||||
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
# NEXT_PUBLIC_APP_URL=http://localhost:3000
|
||||||
DATABASE_URL=${DATABASE_URL}
|
# DATABASE_URL=${DATABASE_URL}
|
||||||
|
|
||||||
|
- name: Build with docker compose
|
||||||
|
run: |
|
||||||
|
docker compose build calcom
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user