promote pushes latest tag
ci.vdhsn.com/push Build is passing
Details
ci.vdhsn.com/push Build is passing
Details
parent
7d59cb9eb4
commit
3420069193
31
.drone.yml
31
.drone.yml
|
|
@ -1,27 +1,3 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: Publish
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
branch:
|
||||
- trunk
|
||||
|
||||
steps:
|
||||
- name: Publish Latest
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: vdhsn/garden
|
||||
tags:
|
||||
- latest
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: PR Build
|
||||
|
|
@ -29,9 +5,10 @@ name: PR Build
|
|||
trigger:
|
||||
event:
|
||||
- push
|
||||
- cron
|
||||
|
||||
steps:
|
||||
- name: Build & Publish PR
|
||||
- name: Build & Publish
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
username:
|
||||
|
|
@ -50,11 +27,9 @@ name: Deploy
|
|||
trigger:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- production
|
||||
|
||||
steps:
|
||||
- name: Deploy
|
||||
- name: Publish Latest
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
username:
|
||||
|
|
|
|||
Loading…
Reference in New Issue