kustomize-ci/.drone.yml

33 lines
584 B
YAML
Raw Normal View History

2023-02-14 11:58:22 +01:00
kind: pipeline
name: deploy
steps:
2023-09-24 04:23:18 +02:00
- name: docker
2023-02-14 11:58:22 +01:00
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/kustomize-ci
tags: latest
when:
branch:
- main
- name: docker-build
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/kustomize-ci
tags: latest
dry_run: true
when:
exclude:
branch:
- main
2023-09-24 04:23:18 +02:00
when:
event:
include:
- push