Add go-import-redirector

This commit is contained in:
Elara 2023-08-08 23:10:32 -07:00
parent ca91974429
commit 787f467f3b
4 changed files with 16 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -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

View File

@ -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)

7
go-import-redirector/build.sh Executable file
View File

@ -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

@ -0,0 +1 @@
Subproject commit 4b5c2b9050dfbdc8830f5220e610adb0d75c539f