Try migrating to Woodpecker
This commit is contained in:
parent
984f11e837
commit
40ad595694
@ -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
6
build
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user