Aaron Riedel
300456be22
All checks were successful
continuous-integration/drone/push Build is passing
33 lines
No EOL
584 B
YAML
33 lines
No EOL
584 B
YAML
kind: pipeline
|
|
name: deploy
|
|
steps:
|
|
- name: docker
|
|
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
|
|
when:
|
|
event:
|
|
include:
|
|
- push |