Compare commits

...

2 Commits

Author SHA1 Message Date
f406d470c1 Delete before put latest manifest
Some checks failed
Build project / build (push) Has been cancelled
Publish / build (push) Successful in 3m30s
2025-06-27 01:05:16 +02:00
7d52648e2e Fix workflow
All checks were successful
Publish / build (push) Successful in 3m18s
Build project / build (push) Successful in 1m55s
2025-06-27 00:50:10 +02:00

View File

@@ -49,13 +49,17 @@ jobs:
--bare
- name: Build manifest
run: |
IMB="${GITEA_REGISTRY}/${GITEA_ORG}/unifi-network-operator-controller:latest" make build-installer
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" \
--data-binary @./dist/install.yaml \
https://gitea.engen.priv.no/api/packages/klauvsteinen/generic/unifi-network-operator/latest/install.yaml
IMB="${GITEA_REGISTRY}/${GITEA_ORG}/unifi-network-operator-controller:$TAG" make build-installer
make IMG="${GITEA_REGISTRY}/${GITEA_ORG}/unifi-network-operator-controller:$TAG" build-installer
curl -X PUT \
-H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/x-yaml" \