From 86856abda26b2b84f48fc876654183f04fa786fe Mon Sep 17 00:00:00 2001 From: Joe Julian Date: Sat, 28 Mar 2026 16:59:53 -0700 Subject: [PATCH] Force ko to publish to the origin registry --- .gitea/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 83cdb7f..f36ef0f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -55,5 +55,5 @@ jobs: KO_DEFAULTBASEIMAGE: gcr.io/distroless/static-debian12:nonroot run: | push_host="$(git remote get-url origin | sed -E 's#^[a-z]+://([^/]+)/.*#\1#')" - export KO_DOCKER_REPO="${push_host}/${GITHUB_REPOSITORY_OWNER}" - ko build --base-import-paths --insecure-registry --sbom=none --tags "main,sha-${GITHUB_SHA}" . + export KO_DOCKER_REPO="${push_host}/${GITHUB_REPOSITORY}" + ko build --bare --insecure-registry --sbom=none --tags "main,sha-${GITHUB_SHA}" .