izaac/.drone.yml
Jakub K df1d7c3f9c
All checks were successful
continuous-integration/drone Build is passing
serializery
2024-01-04 17:26:41 +01:00

26 lines
586 B
YAML

kind: pipeline
type: exec
name: default
steps:
- name: build
commands:
- docker build --no-cache -t izaac:latest .
- docker tag izaac:latest registry.izaac.pl:5000/izaac:latest
- docker push registry.izaac.pl:5000/izaac:latest
- name: delete
environment:
KUBECONFIG: /home/drone-runner/drone-kubeconfig
commands:
- kubectl delete deployment izaac-deployment || true
- name: deploy
environment:
KUBECONFIG: /home/drone-runner/drone-kubeconfig
commands:
- kubectl apply -f deployment.yml --insecure-skip-tls-verify
trigger:
branch:
- master