tinyproxy/.drone.yml
Jakub K 5a179a9058
Some checks failed
continuous-integration/drone Build is failing
init tinyproxy
2024-02-01 22:17:22 +01:00

26 lines
595 B
YAML

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