-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
52 lines (47 loc) · 1.06 KB
/
.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
49
50
51
52
kind: pipeline
type: kubernetes
name: build app
steps:
- name: echo
image: alpine
commands:
- echo README changed
when:
paths:
include:
- "*.md"
- name: version
image: alpine
commands:
- cat code/VERSION > .tags
- echo "\nlatest" >> .tags
when:
paths:
include:
- code/*
- name: build
image: plugins/docker
settings:
repo: registry.192.168.178.48.nip.io/dyndns
registry: registry.192.168.178.48.nip.io
dockerfile: code/Dockerfile
insecure: true
when:
paths:
include:
- code/*
# ---
# kind: pipeline
# type: kubernetes
# name: build chart
# trigger:
# paths:
# include:
# - "chart/*"
# steps:
# - name: Package chart
# image: registry.192.168.178.48.nip.io/helm-build:latest
# commands:
# - helm lint chart/
# - helm package chart/
# - curl -X POST --data-binary @fritzbox-dyndns-`cat chart/Chart.yaml | grep "version:" | cut -d " " -f 2`.tgz -k https://charts.192.168.178.48.nip.io/api/charts