Try pushing to gitea
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2025-11-26 13:30:53 +01:00
parent 29df060ce4
commit b11112867a
2 changed files with 10 additions and 5 deletions

12
build
View File

@@ -25,10 +25,14 @@ echo "23.03.2025"
apk update
apk add buildah cni-plugins iptables ip6tables fuse-overlayfs netavark
buildah login -u woody -p $REGISTRY_TOKEN zot.badhouseplants.net
buildah login -u $REGISTRY_USER -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
buildah push $BUILDAH_REG:$CI_COMMIT_SHA;
buildah push $BUILDAH_REG:latest;
buildah push $BUILDAH_REG:$CI_COMMIT_SHA;
fi
if [ ${CI_COMMIT_BRANCH} = ${CI_REPO_DEFAULT_BRANCH} ]; then
buildah tag $BUILDAH_REG:$CI_COMMIT_SHA $BUILDAH_REG:latest
buildah push $BUILDAH_REG:latest;
fi