Use public base image for ko publishing
CI / test (push) Successful in 29s
CI / publish (push) Failing after 1m9s

This commit is contained in:
Joe Julian
2026-03-28 16:54:16 -07:00
parent 49afad3989
commit 06df58d271
+1
View File
@@ -53,6 +53,7 @@ jobs:
- name: Build and Push Image - name: Build and Push Image
env: env:
REGISTRY_HOST: ${{ vars.REGISTRY_HOST }} REGISTRY_HOST: ${{ vars.REGISTRY_HOST }}
KO_DEFAULTBASEIMAGE: gcr.io/distroless/static-debian12:nonroot
run: | run: |
export KO_DOCKER_REPO="${REGISTRY_HOST}/${GITHUB_REPOSITORY_OWNER}" export KO_DOCKER_REPO="${REGISTRY_HOST}/${GITHUB_REPOSITORY_OWNER}"
ko build --base-import-paths --insecure-registry --sbom=none --tags "main,sha-${GITHUB_SHA}" . ko build --base-import-paths --insecure-registry --sbom=none --tags "main,sha-${GITHUB_SHA}" .