File tree Expand file tree Collapse file tree 1 file changed +44
-14
lines changed Expand file tree Collapse file tree 1 file changed +44
-14
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ kind : pipeline
3
+ name : linux-amd64
1
4
2
- clone :
3
- git :
4
- image : plugins/git
5
- depth : 50
6
- tags : true
5
+ platform :
6
+ os : linux
7
+ arch : amd64
7
8
8
- pipeline :
9
- docker :
10
- image : plugins/docker
11
- secrets : [ docker_username, docker_password ]
12
- default_tags : true
13
- repo : ${DRONE_REPO}
14
- when :
15
- event : [ push, tag ]
16
- local : false
9
+ steps :
10
+ - name : dryrun
11
+ pull : always
12
+ image : plugins/docker:linux-amd64
13
+ settings :
14
+ cache_from : appleboy/nginx-image-resizer
15
+ dockerfile : Dockerfile
16
+ dry_run : true
17
+ repo : appleboy/nginx-image-resizer
18
+ tags : linux-amd64
19
+ when :
20
+ event :
21
+ - pull_request
22
+
23
+ - name : publish
24
+ pull : always
25
+ image : plugins/docker:linux-amd64
26
+ settings :
27
+ auto_tag : true
28
+ auto_tag_suffix : linux-amd64
29
+ cache_from : appleboy/nginx-image-resizer
30
+ dockerfile : Dockerfile
31
+ daemon_off : false
32
+ password :
33
+ from_secret : docker_password
34
+ repo : appleboy/nginx-image-resizer
35
+ username :
36
+ from_secret : docker_username
37
+ when :
38
+ event :
39
+ exclude :
40
+ - pull_request
41
+
42
+ trigger :
43
+ ref :
44
+ - refs/heads/master
45
+ - refs/pull/**
46
+ - refs/tags/**
You can’t perform that action at this time.
0 commit comments