forked from aluxian/docker-sentry-github
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.yml
48 lines (44 loc) · 1015 Bytes
/
.drone.yml
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
41
42
43
44
45
46
47
48
---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
steps:
- name: publish-docker-image
pull: if-not-exists
image: plugins/docker
settings:
build_args:
- release="${DRONE_COMMIT_SHA:0:7}"
force_tag: true
mirror: https://mirror.gcr.io
registry: gcr.io
repo: gcr.io/pl-infra/sentry
tags:
- ${DRONE_BRANCH/master/latest}
- ${DRONE_COMMIT_SHA:0:7}
username: _json_key
environment:
DOCKER_PASSWORD:
from_secret: PL_INFRA_GCR_IO_PUSH
when:
event:
- push
#- name: deploy-on-production
# pull: always
# image: gcr.io/pl-infra/kluster-deploy:latest
# commands:
# - /usr/local/bin/setup-credentials-helper.sh
# - cd /src/production/sentry
# - make HELM_ARGS="--set image=gcr.io/pl-infra/sentry:${DRONE_COMMIT_SHA:0:7}"
# environment:
# GOOGLE_CREDENTIALS:
# from_secret: GOOGLE_CREDENTIALS
# when:
# branch:
# - master
---
kind: signature
hmac: 1adcd8fd28f437ac16a0812ecf1ef360c31024d3a5acb2c65da0c735a1c38aad
...