Fix image for promotion and cleanup
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is failing

This commit is contained in:
2024-11-23 12:56:12 +01:00
parent aa8faa8b5b
commit 88a16d0209

View File

@@ -39,7 +39,7 @@ steps:
environment: environment:
RELEASE_IMAGE_NAME: "docker.io/genunix/restic" RELEASE_IMAGE_NAME: "docker.io/genunix/restic"
commands: commands:
- podman rmi -f $${RELEASE_IMAGE_NAME}:$${DRONE_COMMIT_SHA} - podman manifest rm $${RELEASE_IMAGE_NAME}:$${DRONE_COMMIT_SHA} || true
- podman image prune -f - podman image prune -f
volumes: volumes:
- name: containers - name: containers
@@ -64,7 +64,7 @@ name: promote
steps: steps:
- name: promote - name: promote
image: mgoltzsche/podman:5.3.1 image: bdwyertech/skopeo:2024-10-22--0b9f8f1
privileged: true privileged: true
environment: environment:
REGISTRY_USERNAME: REGISTRY_USERNAME: