twogg-git / go-droneci

Simple repo to test DroneCI pipelines
0 stars 3 forks source link

help with a passing build #1

Closed bradrydzewski closed 5 years ago

bradrydzewski commented 5 years ago

I hope you don't mind me opening an issue, but I see your builds coming across (at cloud.drone.io) and failing and I wanted to help. To get this passing you will need to adjust your yaml syntax:

  name: publish
  image: plugins/docker
- username: ${DOCKER_USERNAME}
- password: ${DOCKER_PASSWORD}
- repo: twogghub/go-droneci
+ settings:
+   username:
+     from_secret: docker_username
+   password:
+     from_secret: docker_password
+   repo: twogghub/go-droneci
  when:
    branch:
    - master

we also have a chatroom where you can get help from the community at gitter.im/drone/drone

twogg-git commented 5 years ago

Hi Bradry, iItested your changes, still same error... /usr/local/bin/docker tag 59466533a805c3b3de138f96a53b849cb08e5736 :1.0 Error parsing reference: ":1.0" is not a valid repository/tag: invalid reference format

bradrydzewski commented 5 years ago

the spacing in master looks off ... username/password/repo should be indented as children of settings.

twogg-git commented 5 years ago

Yes, that was, thank you very much!!!