[CI] Run only on master branch
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
520bda0723
commit
d6f6cb5715
@ -9,6 +9,10 @@ steps:
|
|||||||
- image: 'docker.io/plugins/docker'
|
- image: 'docker.io/plugins/docker'
|
||||||
name: 'publish'
|
name: 'publish'
|
||||||
pull: 'always'
|
pull: 'always'
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- 'master'
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
|
||||||
# registery and repos
|
# registery and repos
|
||||||
@ -36,6 +40,10 @@ steps:
|
|||||||
- image: 'docker.io/bitnami/kubectl'
|
- image: 'docker.io/bitnami/kubectl'
|
||||||
name: 'deploy'
|
name: 'deploy'
|
||||||
pull: 'always'
|
pull: 'always'
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- 'master'
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
mtu: '1440'
|
mtu: '1440'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user