Add go-import-redirector
This commit is contained in:
parent
ca91974429
commit
787f467f3b
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal 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
|
5
go-import-redirector/README.md
Normal file
5
go-import-redirector/README.md
Normal 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
7
go-import-redirector/build.sh
Executable 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
|
1
go-import-redirector/go-import-redirector
Submodule
1
go-import-redirector/go-import-redirector
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 4b5c2b9050dfbdc8830f5220e610adb0d75c539f
|
Loading…
Reference in New Issue
Block a user