forked from cbueche/Agent-Jones
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
40 lines (39 loc) · 875 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
###
### PUBLISH PIPELINE
###
kind: pipeline
name: publish
trigger:
event: [tag]
steps:
- name: imagebuild
image: plugins/docker
settings:
username: { from_secret: quay_username }
password: { from_secret: quay_password }
registry: quay.io
repo: quay.io/zebbra/agent-jones
# tags: "${DRONE_TAG}"
build_args:
- AGENT_JONES_VERSION=${DRONE_TAG}
auto_tag: true
cache_from:
- quay.io/zebbra/agent-jones:${DRONE_COMMIT_SHA:0:7}
mtu: 1316
- name: publish
image: plugins/github-release
settings:
api_key: { from_secret: github_api_key }
files:
- README.md
checksum:
- md5
- sha1
- sha256
- sha512
- adler32
- crc32
title: "Release ${DRONE_TAG} [Drone]"
note: "See CHANGELOG.md"
when:
event: tag