chore: update main.go

This commit is contained in:
etwodev
2025-10-05 19:47:38 +01:00
parent afc980507c
commit 90a5de2bdf
3 changed files with 9 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ import (
"os"
"strconv"
"time"
"github.com/google/uuid"
)
// -------------------------------
@@ -163,6 +165,8 @@ func Deploy(cfg Config) error {
}
}
id := uuid.New()
payload := map[string]interface{}{
"method": "repository",
"type": "standalone",
@@ -178,7 +182,7 @@ func Deploy(cfg Config) error {
"TLSSkipVerify": cfg.TLSSkipVerify,
"AutoUpdate": map[string]interface{}{
"Interval": "",
"Webhook": "",
"Webhook": id.String(),
"ForceUpdate": false,
"ForcePullImage": false,
},