forked from supabase/supabase
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.drone.yml
More file actions
40 lines (36 loc) · 791 Bytes
/
.drone.yml
File metadata and controls
40 lines (36 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
kind: pipeline
type: docker
name: Studio
concurrency:
limit: 2
steps:
- name: Save Git SHA
image: alpine:3
pull: if-not-exists
commands:
- echo '${DRONE_SOURCE_BRANCH//\//-},${DRONE_COMMIT:0:7}' > .tags
- name: Docker build SHA
image: plugins/docker:20
pull: if-not-exists
settings:
dockerfile: studio/Dockerfile
target: production
username:
from_secret: quay_username
password:
from_secret: quay_password
repo: quay.io/openware/studio
registry: quay.io
context: studio
cache_from:
- "quay.io/openware/studio:master"
- 'quay.io/openware/studio:${DRONE_SOURCE_BRANCH//\//-}'
trigger:
event:
- push
branch:
- master
- feature/*
- feat/*
- fix/*