Closed HelifeWasTaken closed 10 months ago
My bad i found the issue (could not find it in the doc so I had to look at the code :/ )
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: plugins/docker
settings:
registry: phar-registry
repo: "phar-registry/phar/runner-test"
tags: latest
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile
Second problem (that was minor) was that I needed to have only lowercase on the repo's name
Hope this helps somebody :)
First of all: https://discourse.drone.io/ returned me 404
Here is my issue I want to deploy an image to my private registry, here is my CI file:
Here are the console logs:
I expected it to connect to phar-registry and not registry-1.docker.io/v2 is there something i am not understanding.
The whole process is just i want it to build the project and push it to the given repository...
I already verified that my username and password let's me login into the registry and that my drone-server is on the same network by using docker inspect and i used phar-registry as the hostname in the dummy docker i used to test my credentials