Closed wlwwu closed 2 years ago
this is to be expected, a HTTPS connection can not be used with HTTP
Try something like below
resource_types:
- name: registry-image-insecure
type: docker-image
source:
repository: cherwin/registry-image-resource
tag: 0.1.0
resources:
- name: docker-registry
type: registry-image-insecure
icon: docker
source:
repository: my.private.insecure.registry:5000/foo
insecure: true
Closing as solution provided.
err information:
ERRO[0004] pushing image failed: initialize transport: GET http://xxxxxx/v2/: unexpected status code 400 Bad Request:
400 Bad Request
/html>
pipeline: resource_types:
resources:
Where we will push the image
Just want to know how to set the insecure flag here