--- kind: pipeline type: docker name: CI Test Pipeline steps: - name: Unit Tests image: python:3.11-bullseye commands: - bash -c './scripts/run_unit_tests.sh' trigger: event: - pull_request - push # Secrets used to pull private images image_pull_secrets: - dockerconfigjson --- kind: pipeline type: docker name: Build Production Image steps: - name: Build Speech Collect Container Image image: plugins/docker settings: username: automate password: from_secret: automate_password dockerfile: Dockerfile registry: registry.runcible.io repo: registry.runcible.io/speech-collect tags: - ${DRONE_COMMIT_SHA} when: branch: - master event: - push