From f406d470c1a5cdb3b2e2980ba9d8b0179440c70e Mon Sep 17 00:00:00 2001 From: Vegard Engen Date: Fri, 27 Jun 2025 01:05:16 +0200 Subject: [PATCH] Delete before put latest manifest --- .gitea/workflows/publish.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index d66c98e..f218988 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -50,6 +50,10 @@ jobs: - name: Build manifest run: | make IMG="${GITEA_REGISTRY}/${GITEA_ORG}/unifi-network-operator-controller:latest" build-installer + curl -X DELETE \ + -H "Authorization: token $GITEA_TOKEN" \ + -H "Content-Type: application/x-yaml" \ + https://gitea.engen.priv.no/api/packages/klauvsteinen/generic/unifi-network-operator/latest/install.yaml curl -X PUT \ -H "Authorization: token $GITEA_TOKEN" \ -H "Content-Type: application/x-yaml" \