diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7689110 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "go-import-redirector/go-import-redirector"] + path = go-import-redirector/go-import-redirector + url = https://github.com/rsc/go-import-redirector diff --git a/go-import-redirector/README.md b/go-import-redirector/README.md new file mode 100644 index 0000000..7ee9a1a --- /dev/null +++ b/go-import-redirector/README.md @@ -0,0 +1,5 @@ +# go-import-redirector + +The [go-import-redirector](https://gitea.elara.ws/Elara6331/-/packages/container/go-import-redirector/latest) image contains rsc's [go-import-redirector](https://github.com/rsc/go-import-redirector) project + +This image uses [ko.build](https://ko.build) diff --git a/go-import-redirector/build.sh b/go-import-redirector/build.sh new file mode 100755 index 0000000..771a268 --- /dev/null +++ b/go-import-redirector/build.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +pushd go-import-redirector +KO_DOCKER_REPO=gitea.elara.ws/elara6331 ko build -B \ + --platform=linux/amd64,linux/arm64,linux/riscv64 \ + --sbom=none +popd diff --git a/go-import-redirector/go-import-redirector b/go-import-redirector/go-import-redirector new file mode 160000 index 0000000..4b5c2b9 --- /dev/null +++ b/go-import-redirector/go-import-redirector @@ -0,0 +1 @@ +Subproject commit 4b5c2b9050dfbdc8830f5220e610adb0d75c539f