From 930c0dc4b66db5120b29dda1478fc8e9b35bc2c3 Mon Sep 17 00:00:00 2001 From: Dennis Staal Date: Tue, 27 Feb 2024 11:50:19 +0100 Subject: [PATCH] Add version to gi build command --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8fe8619..78e5c5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Build run: | mkdir release - CGO_ENABLED=0 go build -o release/container-manager + CGO_ENABLED=0 go build -ldflags "-X main.Build=${{ github.ref_name }}" -o release/container-manager - name: Upload artifacts uses: actions/upload-artifact@v4