elasticsearch/.drone.yml
Aaron Riedel e3a4389277
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
possible fix for automerge
2022-07-21 17:23:17 +02:00

34 lines
609 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/elasticsearch
tags: latest
when:
branch:
- main
event:
- push
- name: docker-build
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/elasticsearch
tags: latest
dry_run: true
when:
branch:
exclude:
- main
event:
exclude:
- push