This commit is contained in:
parent
2dd349b41b
commit
462f3a4643
12
.drone.yml
12
.drone.yml
@ -6,7 +6,7 @@ steps:
|
|||||||
- name: download source
|
- name: download source
|
||||||
image: plugins/download
|
image: plugins/download
|
||||||
settings:
|
settings:
|
||||||
source: https://github.com/calcom/cal.com/archive/refs/tags/v3.1.7.tar.gz
|
source: https://github.com/calcom/cal.com/archive/refs/tags/v3.2.3.tar.gz
|
||||||
destination: source.tar.gz
|
destination: source.tar.gz
|
||||||
- name: download docker repo
|
- name: download docker repo
|
||||||
image: plugins/download
|
image: plugins/download
|
||||||
@ -20,12 +20,12 @@ steps:
|
|||||||
- tar --strip-components 1 -C calcom -xzf source.tar.gz
|
- tar --strip-components 1 -C calcom -xzf source.tar.gz
|
||||||
- mkdir docker
|
- mkdir docker
|
||||||
- tar --strip-components 1 -C docker -xzf docker.tar.gz
|
- tar --strip-components 1 -C docker -xzf docker.tar.gz
|
||||||
- mv docker/.dockerignore .
|
|
||||||
- mkdir -p build/apps
|
|
||||||
- name: prepare build workspace
|
- name: prepare build workspace
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git init calcom
|
- git init calcom
|
||||||
|
- mv docker/.dockerignore .
|
||||||
|
- mkdir -p build/apps
|
||||||
- name: build
|
- name: build
|
||||||
image: node:18
|
image: node:18
|
||||||
environment:
|
environment:
|
||||||
@ -50,15 +50,13 @@ steps:
|
|||||||
- yarn turbo run build --filter=@calcom/web
|
- yarn turbo run build --filter=@calcom/web
|
||||||
- rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
|
- rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/kaniko
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: cr.smcm.xyz/calendso/calendso
|
repo: cr.smcm.xyz/calendso/calendso
|
||||||
|
cache_from: cr.smcm.xyz/calendso/calendso
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_COMMIT_SHA}
|
- ${DRONE_COMMIT_SHA}
|
||||||
config: "{}"
|
|
||||||
registry_mirrors:
|
|
||||||
- https://hub.smcm.xyz
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: postgres
|
- name: postgres
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user