Automate image building and add some images
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Clone go-import-redirector and enter its directory
|
||||
git clone https://github.com/rsc/go-import-redirector
|
||||
pushd go-import-redirector
|
||||
KO_DOCKER_REPO=gitea.elara.ws/elara6331 ko build -B \
|
||||
|
||||
# Build and publish the image
|
||||
KO_DOCKER_REPO=gitea.elara.ws/elara6331 \
|
||||
KO_DEFAULTBASEIMAGE=gitea.elara.ws/elara6331/static \
|
||||
ko build -B \
|
||||
--platform=linux/amd64,linux/arm64,linux/riscv64 \
|
||||
--sbom=none
|
||||
|
||||
# Leave the go-import-redirector directory
|
||||
popd
|
||||
|
||||
Submodule go-import-redirector/go-import-redirector deleted from 4b5c2b9050
Reference in New Issue
Block a user