kind: pipeline type: vm name: default platform: os: linux arch: amd64 pool: use: ubuntu steps: - name: build image: golang:1.19 commands: - go test ./... - sh scripts/build.sh - name: publish (dry run) image: plugins/docker pull: if-not-exists settings: dry_run: true repo: plugins/github-actions dockerfile: docker/Dockerfile.linux.amd64 tags: - latest - name: publish image: plugins/docker pull: if-not-exists settings: repo: plugins/github-actions auto_tag: true dockerfile: docker/Dockerfile.linux.amd64 username: from_secret: docker_username password: from_secret: docker_password when: event: - tag