From 2988095e79e796a80aa4735be50a1aa4c486ff4c Mon Sep 17 00:00:00 2001 From: Richard Hagen Date: Wed, 11 Oct 2023 12:39:10 +0200 Subject: [PATCH] testing3 --- .goreleaser.yml | 1 + main.go | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 3496c10..f6b2721 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,6 +17,7 @@ builds: dockers: - image_templates: - "ghcr.io/equinor/radix/rx:latest" + - "ghcr.io/equinor/radix/rx:{{ .Version}}" dockerfile: Dockerfile.goreleaser ids: - rx diff --git a/main.go b/main.go index d360873..ec3340f 100644 --- a/main.go +++ b/main.go @@ -2,6 +2,7 @@ package main import ( "fmt" + "io/ioutil" "os" "github.com/equinor/radix-cli/cmd" @@ -23,7 +24,9 @@ func main() { os.Exit(1) } - cmd.Execute() + ioutil.ReadFile(".goreleaser.yml") + + cmd.Execute( } func ensureRadixConfigFolderExists() error {