Private and authenticated Docker registry with self signed double CA failed to refernce

Hi,
i am performing a POC with concourse. I have the issue that i have our Docker registry within Artifactory which requires authentification. Also it’s secured with an own CA SSL cert. I do required to add the rootca and an subca to the docker-image ressource.

Whatever i try i get as a result a:

initializing
resource script '/opt/resource/check []' failed: exit status 1

stderr:
failed to construct named reference: invalid reference format

errored

I already tried either with insecured_registries:

---
platform: linux
image_resource:
    type: docker-image
    source:
        repository: "artifacts.pke.mydomain.de:443/imagename:3
        username: cze
        password: password
        insecure_registries:
           - artifacts.pke.mydomain.de:443

I also tried to pass them the ca_certs like this

...
type: docker-image
source:
    repository: "artifacts.pke.mydomain.de:443/imagename:3
    username: cze
    password: password
    ca_certs:
        - domain: "artifacts.pke.mydomain.de:443"
          cert: |
                -----BEGIN CERTIFICATE-----
               ....
               -----END CERTIFICATE-----
               -----BEGIN CERTIFICATE-----
               ....
               -----END CERTIFICATE-----

The result is always the above error.

Shame on me. I have not realized that i have to seperate the tag from the repository and enter it seperatly.

...
type: docker-image
source:
    repository: "artifacts.pke.mydomain.de:443/imagename
    tag: 3
    username: cze
....

@czerwe Shame on me too… This actually helped me, so thanks!