--- kind: pipeline name: default steps: - name: build image only image: plugins/docker settings: repo: eumau/dovecot auto_tag: true dry_run: true when: ref: - refs/pull/** # event no anda (?) # event: # - pull_request - name: build and publish image image: plugins/docker settings: repo: eumau/dovecot auto_tag: true username: from_secret: dockerhub_username password: from_secret: dockerhub_password when: branch: - master