kind: pipeline type: docker name: build-latest steps: - name: build-image image: plugins/docker settings: repo: git.thisfro.ch/pflaenz.li/pflaenzli dockerfile: Dockerfile tags: - latest - ${DRONE_BUILD_NUMBER} registry: git.thisfro.ch/pflaenz.li/pflaenzli username: from_secret: docker_username password: from_secret: docker_password --- kind: pipeline type: docker name: build-stable steps: - name: build-image image: plugins/docker settings: repo: git.thisfro.ch/pflaenz.li/pflaenzli dockerfile: Dockerfile tags: - stable registry: git.thisfro.ch/pflaenz.li/pflaenzli username: from_secret: docker_username password: from_secret: docker_password trigger: event: - promote target: - production