kind: pipeline type: docker name: build-and-push steps: - name: test image: oven/bun:1-alpine commands: - bun install --frozen-lockfile - bun run test - name: build image: oven/bun:1-alpine commands: - bun install --frozen-lockfile - bun run build:ssr depends_on: - test - name: docker image: plugins/docker settings: repo: registry.zea.lt/miczek/tracker registry: registry.zea.lt username: from_secret: registry_username password: from_secret: registry_password tags: - latest - ${DRONE_COMMIT_SHA:0:7} when: branch: - main - master depends_on: - build