kind: pipeline type: docker name: default steps: - name: build image: plugins/docker:linux-amd64 pull: always settings: daemon_off: false dry_run: true repo: git.libreschool.org/libreschool-automation/rpm-build tags: - latest - 7 when: event: exclude: - tag - name: build_and_publish image: plugins/docker:linux-amd64 pull: always settings: daemon_off: false force_tag: true registry: git.libreschool.org username: from_secret: docker_username password: from_secret: docker_password repo: git.libreschool.org/libreschool-automation/rpm-build tags: - latest - 7 when: event: - tag