Try migrating to Woodpecker
This commit is contained in:
parent
984f11e837
commit
40ad595694
@ -6,8 +6,9 @@ when:
|
|||||||
steps:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: alpine
|
image: alpine
|
||||||
name: Build shoebill operator image
|
|
||||||
privileged: true
|
privileged: true
|
||||||
|
environment:
|
||||||
|
BUILDAH_REG: git.badhouseplants.net/badhouseplants/badhouseplants-builder
|
||||||
commands:
|
commands:
|
||||||
- ./build
|
- ./build
|
||||||
secrets:
|
secrets:
|
||||||
|
6
build
6
build
@ -26,9 +26,9 @@ apk update
|
|||||||
apk add buildah cni-plugins iptables ip6tables fuse-overlayfs
|
apk add buildah cni-plugins iptables ip6tables fuse-overlayfs
|
||||||
|
|
||||||
buildah login -u allanger -p $GITEA_TOKEN git.badhouseplants.net
|
buildah login -u allanger -p $GITEA_TOKEN git.badhouseplants.net
|
||||||
buildah build -t $BUILDAH_REG:$DRONE_COMMIT_SHA .
|
buildah build -t $BUILDAH_REG:$CI_COMMIT_SHA .
|
||||||
buildah tag $BUILDAH_REG:$DRONE_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:$DRONE_COMMIT_SHA;
|
buildah push $BUILDAH_REG:$CI_COMMIT_SHA;
|
||||||
buildah push $BUILDAH_REG:latest;
|
buildah push $BUILDAH_REG:latest;
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user