From 53c5a3c0e674b1db2c8b7e0b84727f9cf4ee9805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20B=C3=A4hler?= Date: Mon, 30 Oct 2023 22:11:36 +0100 Subject: [PATCH] chore(ci): fix workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Oliver Bähler --- .github/workflows/docker-publish.yml | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 514388a..0c1f1b2 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -23,6 +23,7 @@ jobs: run: | GIT_TAG=${GITHUB_REF##*/} VERSION=${GIT_TAG##v} + echo "Extracted version: $VERSION" echo "version=$(echo $VERSION)" >> $GITHUB_OUTPUT - name: Run Trivy vulnerability (Repo) uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # v0.12.0 diff --git a/Makefile b/Makefile index 1db88d6..07b4521 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ ko-login: ko .PHONY: ko-publish-controller ko-publish-controller: ko-login @LD_FLAGS=$(LD_FLAGS) KOCACHE=$(KOCACHE) KO_DOCKER_REPO=$(FULL_IMG) \ - $(KO) build . --bare --tags=$(KO_TAGS) + $(KO) build ./cmd/ --bare --tags=$(KO_TAGS) .PHONY: ko-publish-all ko-publish-all: ko-publish-controller