Try pushing to the latest one as well
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
7
build
7
build
@@ -21,14 +21,19 @@
|
|||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
echo "23.03.2025"
|
echo "28.03.2025"
|
||||||
apk update
|
apk update
|
||||||
apk add buildah cni-plugins iptables ip6tables fuse-overlayfs netavark
|
apk add buildah cni-plugins iptables ip6tables fuse-overlayfs netavark
|
||||||
|
|
||||||
buildah login -u woody -p $REGISTRY_TOKEN zot.badhouseplants.net
|
buildah login -u woody -p $REGISTRY_TOKEN zot.badhouseplants.net
|
||||||
buildah build -t $BUILDAH_REG:$CI_COMMIT_SHA .
|
buildah build -t $BUILDAH_REG:$CI_COMMIT_SHA .
|
||||||
buildah tag $BUILDAH_REG:$CI_COMMIT_SHA $BUILDAH_REG:latest
|
buildah tag $BUILDAH_REG:$CI_COMMIT_SHA $BUILDAH_REG:latest
|
||||||
|
|
||||||
if [ -z ${BUILD_DEBUG+x} ]; then
|
if [ -z ${BUILD_DEBUG+x} ]; then
|
||||||
buildah push $BUILDAH_REG:$CI_COMMIT_SHA;
|
buildah push $BUILDAH_REG:$CI_COMMIT_SHA;
|
||||||
buildah push $BUILDAH_REG:latest;
|
buildah push $BUILDAH_REG:latest;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${CI_REPO_DEFAULT_BRANCH}"="${CI_COMMIT_BRANCH}" ]; then
|
||||||
|
buildah push $BUILDAH_REG:latest
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user