--- # ---------------------------------------------- # -- Build the site and push it to the registry # ---------------------------------------------- kind: pipeline type: docker name: Build badhouseplants.net trigger: event: - push steps: - name: Prepare the builder image image: alpine privileged: true environment: GITEA_TOKEN: from_secret: GITEA_TOKEN BUILDAH_REG: git.badhouseplants.net/badhouseplants/badhouseplants-builder commands: - 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 push $BUILDAH_REG:$DRONE_COMMIT_SHA