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