Skip to content

Docker container exits with error code 0 when fetching from ghcr.io #13699

@viktorpopp

Description

@viktorpopp

So i just pushed this new container to the GitHub Container Registry: https://github.com/zinix-org/dragon-dns/actions/runs/23856298670/job/69550205148

But the thing is whenether i just clone the repo and run docker compose up with the following compose file:

services:
  dragon-dns:
    build: .
    container_name: ddns
    environment:
      - CLOUDFLARE_API_TOKEN=nothere
      - MACHINE_ID=1
      - LOG_LEVEL=trace
      - CACHE_EXPIRATION=1m

it works just fine and runs the ddns as it should. But if i change build: . to image: ghcr.io/zinix-org/dragon-dns:main it just exits with error code 1 immidiatly. I also tried to start the container with an interactive shell and running the ddns myself and the same happends...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions