From c6521c7fcf9243b62e30fccd7e02c0b0e03804ae Mon Sep 17 00:00:00 2001 From: "Marcel S. Henselin" Date: Thu, 16 Apr 2026 10:34:45 +0200 Subject: [PATCH] chore: use Dockerfile --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 536e7ec..6f6ce82 100644 --- a/main.go +++ b/main.go @@ -37,14 +37,14 @@ func main() { author := githubactions.GetInput("author") if author == "" { - githubactions.Infof("Missing input 'author'") + githubactions.Infof("[INFO] Missing input 'author', using default") author = "STACKIT git action" } data.Author = author title := githubactions.GetInput("title") if title == "" { - githubactions.Infof("Missing input 'title'") + githubactions.Infof("[INFO] Missing input 'title', using default") title = "STACKIT git action" } data.Title = title @@ -134,7 +134,7 @@ func card(d templateData) ([]byte, error) { d.EventBody = "Project: {{ .Project }}
Commit-id: {{ .Commit }}
Branch: {{ .Branch }}
Build Status: {{ .Status }}" } - // data := `{ + //data := `{ // "cards": [ // { // "header": { @@ -188,7 +188,7 @@ func card(d templateData) ([]byte, error) { "title": "{{ .Title }}", "subtitle": "{{ .SubTitle }}", "imageUrl": "{{ .IconUrl }}", - "imageStyle": "IMAGE" + "imageStyle": "IMAGE", "imageType": "SQUARE" }, "sections": [