V
V
Vyacheslav Stepko2020-10-18 22:22:27
Docker
Vyacheslav Stepko, 2020-10-18 22:22:27

Drone CI - Docker Plugin parse error. Why drone can't upload docker image to registry?

Hello.
I use dron CI for build, including docker containers.
The build is working fine, but the dron can't push the container. Despite the fact that the login:password combination is accepted normally (if you specify the wrong ones, it immediately swears, that is, it can go to this address and log in).

here is the CI file:

kind: pipeline
name: default
steps:
- name: docker  
  image: plugins/docker
  settings:
    username: ****
    password: ****
    repo: https://*****.com:5000/myfirstimage
    registry: https://*****.com:5000
    tags:
    - latest


Here is the error:
Error parsing reference: "https://*****.com:5000/myfirstimage:latest" is not a valid repository/tag: invalid reference format
15921	time="2020-10-18T17:52:20Z" level=fatal msg="exit status 1"


Fill in and spool the image with handles - no questions asked, everything works.
Tell me what's wrong, please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Stepko, 2020-10-18
@slavapride

repo: *****.com:5000/myfirstimage
registry: *****.com:5000

That works for me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question