kind: pipeline type: docker name: default steps: - name: build_and_publish image: plugins/docker:linux-amd64 settings: dockerfile: docker/Dockerfile force_tag: true password: from_secret: docker_password registry: docker.asperti.com repo: docker.asperti.com/paspo/ftps username: from_secret: docker_username tags: - latest - ${DRONE_TAG} - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR} when: event: - tag trigger: event: - tag