--- # ---------------------------------------------- # -- Build an image and push it to the registry # ---------------------------------------------- kind: pipeline type: docker name: Build the builder trigger: event: - push steps: - name: Build and push the docker image image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:896dc589d44bfa3560ee8d0469d5ee6fc4559532 privileged: true environment: GITEA_TOKEN: from_secret: GITEA_TOKEN commands: - build-container - name: Cleanup registry image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:896dc589d44bfa3560ee8d0469d5ee6fc4559532 environment: GITEA_TOKEN: from_secret: GITEA_TOKEN commands: - cleanup