Skip to content

Ados repo Authenticared Failed to clone repo #891

@flod1

Description

@flod1

Description

Hello, I tried to set up poll config with my private ados git server.

configs:
  poll-config.yml:
    content: >
      - url:
      https://${GIT_USER}:${PAT}@${ADOS_URL_REPO}
        branch: main
        reference: refs/heads/main

but I can't get a connection:
,"error":"failed to clone repository: authentication required:

What am I doing wrong, or has anyone had a similar experience? Is it a bug?

Steps to reproduce the issue

1. Configure this '....'
2. Deploy to '....'
3. See error

Operating System

Linux

Docker Compose File

services:
  doco-cd:
    container_name: doco-cd
    image: ghcr.io/kimdre/doco-cd:latest
    restart: unless-stopped
    ports:
      - 80:80
    environment:
      #- GIT_ACCESS_TOKEN=${GIT_ACCESS_TOKEN}
      - WEBHOOK_SECRET=${WEBHOOK_SECRET}
      - POLLING_INTERVAL=${POLLING_INTERVAL}
      - POLL_CONFIG_FILE=/poll-config.yml
    group_add:
      - "988" # <- ggf. an deine Docker-GID anpassen
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    configs:
      # Use with POLL_CONFIG_FILE
      - source: poll-config.yml
        target: /poll-config.yml
networks: {}
configs:
  poll-config.yml:
    content: >
      - url:
      https://${GIT_USER}:${PAT}@${ADOS_URL_REPO}
        branch: main
        reference: refs/heads/main

Deployment Config

Logs

{"time":"2025-12-17T09:35:26.818427431Z","level":"error","msg":"error during poll job","repository":"${ADOS_URL_REPO}","job_id":"019b2baa-1a41-7e16-9b1a-486cbf31fa0f","error":"failed to clone repository: authentication required: "}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions