diff --git a/internal/handlers/app.go b/internal/handlers/app.go index 2e732ea..7bbce06 100644 --- a/internal/handlers/app.go +++ b/internal/handlers/app.go @@ -54,12 +54,18 @@ func (h *Handlers) HandleAppCreate() http.HandlerFunc { //nolint:funlen // valid repoURL := request.FormValue("repo_url") branch := request.FormValue("branch") dockerfilePath := request.FormValue("dockerfile_path") + dockerNetwork := request.FormValue("docker_network") + ntfyTopic := request.FormValue("ntfy_topic") + slackWebhook := request.FormValue("slack_webhook") data := h.addGlobals(map[string]any{ "Name": name, "RepoURL": repoURL, "Branch": branch, "DockerfilePath": dockerfilePath, + "DockerNetwork": dockerNetwork, + "NtfyTopic": ntfyTopic, + "SlackWebhook": slackWebhook, }, request) if name == "" || repoURL == "" { @@ -100,6 +106,9 @@ func (h *Handlers) HandleAppCreate() http.HandlerFunc { //nolint:funlen // valid RepoURL: repoURL, Branch: branch, DockerfilePath: dockerfilePath, + DockerNetwork: dockerNetwork, + NtfyTopic: ntfyTopic, + SlackWebhook: slackWebhook, }, ) if createErr != nil {