Push builder to zot
This commit is contained in:
parent
5c8c258623
commit
0e1ff2e22e
@ -15,7 +15,7 @@ steps:
|
||||
image: alpine
|
||||
privileged: true
|
||||
environment:
|
||||
BUILDAH_REG: gitea.badhouseplants.net/badhouseplants/badhouseplants-builder
|
||||
BUILDAH_REG: zot.badhouseplants.net/badhouseplants/badhouseplants-builder
|
||||
commands:
|
||||
- ./build
|
||||
secrets:
|
||||
@ -34,10 +34,10 @@ steps:
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: "${ARCH}"
|
||||
cleanup:
|
||||
image: gitea.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
|
||||
image: zot.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
|
||||
secrets:
|
||||
- gitea_token
|
||||
environment:
|
||||
BUILDAH_REG: gitea.badhouseplants.net/badhouseplants/badhouseplants-builder
|
||||
BUILDAH_REG: zot.badhouseplants.net/badhouseplants/badhouseplants-builder
|
||||
commands:
|
||||
- cleanup
|
||||
|
2
build
2
build
@ -25,7 +25,7 @@ echo "24.07.2024"
|
||||
apk update
|
||||
apk add buildah cni-plugins iptables ip6tables fuse-overlayfs netavark
|
||||
|
||||
buildah login -u allanger -p $GITEA_TOKEN gitea.badhouseplants.net
|
||||
buildah login -u woody -p $REGISTRY_TOKEN zot.badhouseplants.net
|
||||
buildah build -t $BUILDAH_REG:$CI_COMMIT_SHA .
|
||||
buildah tag $BUILDAH_REG:$CI_COMMIT_SHA $BUILDAH_REG:latest
|
||||
if [ -z ${BUILD_DEBUG+x} ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user