pipeline: build: when: event: [push, pull_request] image: golang:1.19.3-alpine commands: - go mod download - go build . dockerize: when: event: [push] image: plugins/docker settings: username: from_secret: docker_user password: from_secret: docker_passwd # password = key or actual password auto_tag: true repo: odyssey/Gothub when: branch: [dev] auto_tag_suffix: dev branches: [main, master]