Fix pipeline
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
2024-07-11 11:55:38 +02:00
parent 2bd87fe4bc
commit 16b5f47a51

View File

@@ -106,20 +106,6 @@ steps:
- echo "$${KUBECONFIG}" > kubeconfig - echo "$${KUBECONFIG}" > kubeconfig
- kubectl --kubeconfig=kubeconfig -n hass rollout restart deployment/hass - kubectl --kubeconfig=kubeconfig -n hass rollout restart deployment/hass
- kubectl --kubeconfig=kubeconfig -n hass rollout status deployment/hass - kubectl --kubeconfig=kubeconfig -n hass rollout status deployment/hass
- name: cleanup
image: mgoltzsche/podman:5.1.1
privileged: true
environment:
RELEASE_IMAGE_NAME: "docker.io/genunix/homeassistant"
commands:
- podman rmi -f $${RELEASE_IMAGE_NAME}:$${DRONE_COMMIT_SHA}
- podman image prune -f
volumes:
- name: containers
path: /var/lib/containers
when:
branch:
- master
trigger: trigger:
event: event: