kind: pipeline type: ssh name: image builder server: host: 192.168.1.2 user: build password: from_secret: ssh_password steps: - name: build commands: - make build --- kind: pipeline type: ssh name: production image builder server: host: 192.168.1.2 user: build password: from_secret: ssh_password steps: - name: build environment: DOCKER_USERNAME: creckx DOCKER_PASSWORD: from_secret: docker_password commands: - docker login -u $DOCKER_USERNAME --password $DOCKER_PASSWORD - make push trigger: event: - promote target: - production