--- kind: pipeline type: exec name: main trigger: branch: - master platform: os: linux arch: amd64 steps: - name: build commands: - docker build -t registry.jfmonty2.com/minebot:latest . - name: deploy environment: REGISTRY_PWD: from_secret: registry_pwd commands: - echo $REGISTRY_PWD | docker login -u drone --password-stdin registry.jfmonty2.com - docker push registry.jfmonty2.com/minebot:latest