Try migrating to Woodpecker

This commit is contained in:
Nikolai Rodionov 2024-05-25 14:38:07 +02:00
parent 984f11e837
commit 40ad595694
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 5 additions and 4 deletions

View File

@ -6,8 +6,9 @@ when:
steps:
build:
image: alpine
name: Build shoebill operator image
privileged: true
environment:
BUILDAH_REG: git.badhouseplants.net/badhouseplants/badhouseplants-builder
commands:
- ./build
secrets:

6
build
View File

@ -26,9 +26,9 @@ apk update
apk add buildah cni-plugins iptables ip6tables fuse-overlayfs
buildah login -u allanger -p $GITEA_TOKEN git.badhouseplants.net
buildah build -t $BUILDAH_REG:$DRONE_COMMIT_SHA .
buildah tag $BUILDAH_REG:$DRONE_COMMIT_SHA $BUILDAH_REG:latest
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:$DRONE_COMMIT_SHA;
buildah push $BUILDAH_REG:$CI_COMMIT_SHA;
buildah push $BUILDAH_REG:latest;
fi