kind: pipeline name: default type: docker steps: - name: download source image: plugins/download settings: source: https://smcm.xyz/gh/calcom/cal.com/source.tar.gz - name: download docker repo image: plugins/download settings: source: https://github.com/calcom/docker/archive/refs/heads/main.tar.gz destination: docker.tar.gz - name: extract source image: alpine commands: - mkdir calcom - tar --strip-components 1 -C calcom -xzf source.tar.gz - tar --strip-components 1 -xzf docker.tar.gz - name: build image: docker:dind volumes: - name: dockersock path: /var/run commands: - sleep 8 - DOCKER_BUILDKIT=0 docker compose build calcom - docker tag calcom cr.smcm.xyz/calcom:latest - docker push --all-tags cr.smcm.xyz/calcom # - name: deploy # image: plugins/webhook # settings: # urls: https://avdelning.mcmaster.io/api/stacks/webhooks/1c658cc6-8d9c-4249-bcf8-659f98f3b9bf services: - name: postgres image: postgres:9-alpine environment: POSTGRES_USER: username POSTGRES_PASSWORD: password POSTGRES_DB: database - name: docker image: docker:dind privileged: true volumes: - name: dockersock path: /var/run volumes: - name: dockersock temp: {} trigger: branch: - main event: - push - custom