From ac2f824e1620a360a8a8b37eecbb927e4644cad0 Mon Sep 17 00:00:00 2001 From: Pinghao Wu Date: Wed, 15 Jan 2025 20:43:47 +0800 Subject: [PATCH] build: impl image publish --- .build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..cc5cd32 --- /dev/null +++ b/.build.yml @@ -0,0 +1,14 @@ +image: alpine/edge +packages: + - ko + - go # XXX: why not dep from ko? +secrets: + - d45b9b20-bc8b-480e-8e6e-edb5e0fd5848 # containers auth +environment: + KO_DOCKER_REPO: ghcr.io/xdavidwu/listables +tasks: + - publish: | + + cd listables + # XXX github.com/google/go-containerregistry/pkg/authn does not search for this yet + env REGISTRY_AUTH_FILE=~/.config/containers/auth.json ko publish --bare . -- 2.45.2