--- # ---------------------------------------------- # -- 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:f1775ea02b0c985e27449fbabeb810cd07e27f53 privileged: true environment: GITEA_TOKEN: from_secret: GITEA_TOKEN commands: - build-container - name: Cleanup registry image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53 environment: GITEA_TOKEN: from_secret: GITEA_TOKEN commands: - cleanup