Fix pipeline
This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -106,20 +106,6 @@ steps:
|
||||
- echo "$${KUBECONFIG}" > kubeconfig
|
||||
- kubectl --kubeconfig=kubeconfig -n hass rollout restart 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:
|
||||
event:
|
||||
|
||||
Reference in New Issue
Block a user