elasticsearch/.drone.yml
Aaron Riedel 56eb10af27
All checks were successful
continuous-integration/drone/push Build is passing
change build pipeline to kubernetes
2024-05-29 21:41:01 +02:00

44 lines
No EOL
839 B
YAML

kind: pipeline
type: kubernetes
name: deploy
steps:
- name: docker
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/elasticsearch
tags: latest
platforms:
- linux/arm64
- linux/amd64
when:
branch:
- main
- name: docker-build
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/elasticsearch
tags: latest
platforms:
- linux/arm64
- linux/amd64
dry_run: true
when:
branch:
exclude:
- main
when:
event:
include:
- push