From bca926a9858fb460c8cf271384e6add936edd98e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20B=C3=A4hler?= Date: Mon, 30 Oct 2023 22:54:07 +0100 Subject: [PATCH] test --- .github/workflows/docker-publish.yml | 1 - .ko.yaml | 4 +--- Makefile | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 0c1f1b2..02727e2 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -52,7 +52,6 @@ jobs: main-path: ./cmd/ env: REPOSITORY: ${{ github.repository }} - VERSION: ${{ steps.extract_version.outputs.version }} generate-provenance: needs: publish-images permissions: diff --git a/.ko.yaml b/.ko.yaml index 05db497..f00d0f2 100644 --- a/.ko.yaml +++ b/.ko.yaml @@ -3,6 +3,4 @@ defaultPlatforms: - linux/amd64 builds: - id: svc-ingress-propagator - main: cmd/main.go - ldflags: - - '{{ if index .Env "LD_FLAGS" }}{{ .Env.LD_FLAGS }}{{ end }}' \ No newline at end of file + main: cmd/ \ No newline at end of file diff --git a/Makefile b/Makefile index 8396b54..d62e12e 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,7 @@ ko-login: ko .PHONY: ko-publish-controller ko-publish-controller: ko-login + @echo Publishing Controller $(FULL_IMG) - $(KO_TAGS) >&2 @LD_FLAGS=$(LD_FLAGS) KOCACHE=$(KOCACHE) KO_DOCKER_REPO=$(FULL_IMG) \ $(KO) build ./cmd/ --bare --tags=$(KO_TAGS) --push=true