kind: pipeline name: default steps: - name: build-and-push image: plugins/docker settings: registry: git.clortox.com username: from_secret: gitea_docker_username password: from_secret: gitea_docker_password repo: git.clortox.com/tyler/general-api tags: - latest - "1.0.${DRONE_BUILD_NUMBER}" when: branch: - master - name: notify image: clortox/drone-ntfy settings: URL: https://ntfy.clortox.com USERNAME: drone PASSWORD: from_secret: ntfy_password TOPIC: drone-builds MESSAGE: General-API has compiled! CLICK: https://drone.clortox.com/tyler/General-API TITLE: General-API when: branch: - master