From 62f008e73c181338d8598f4253dcc4f51fb10252 Mon Sep 17 00:00:00 2001 From: Shane C Date: Fri, 6 Sep 2024 15:19:32 -0400 Subject: [PATCH] fix casing in Dockerfile, add debug log --- Dockerfile | 2 +- cmd/root.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0106a8e..583ae4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22-alpine3.20 as builder +FROM golang:1.22-alpine3.20 AS builder WORKDIR /app COPY . . diff --git a/cmd/root.go b/cmd/root.go index 98861ba..83d7fcd 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -181,6 +181,8 @@ var rootCmd = &cobra.Command{ repoOwner, repoName := actionCtx.Repo() + fmt.Println("hi") + if _, _, err := forgeClient.CreateIssue(repoOwner, repoName, forgejo.CreateIssueOption{ Title: "testing", Body: markdownOutput.String(),