diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 4f77376ba..f6c51f6e5 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -8,6 +8,7 @@ on: - .github/actions/smoke-docker-image/action.yml - .github/workflows/docker.yaml - .github/workflows/publish.yaml + - tests/data/jsonschema/simple_string.json pull_request: branches: [main] paths: @@ -15,6 +16,7 @@ on: - .github/actions/smoke-docker-image/action.yml - .github/workflows/docker.yaml - .github/workflows/publish.yaml + - tests/data/jsonschema/simple_string.json workflow_dispatch: concurrency: diff --git a/Dockerfile b/Dockerfile index 76ae93250..85703d901 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,14 @@ RUN test -n "${VERSION}" \ FROM python:3.14.2-slim-bookworm -LABEL maintainer="Koudai Aono " +ARG VERSION + +LABEL maintainer="Koudai Aono " \ + org.opencontainers.image.description="Generate Python data models from schema definitions" \ + org.opencontainers.image.licenses="MIT" \ + org.opencontainers.image.source="https://github.com/koxudaxi/datamodel-code-generator" \ + org.opencontainers.image.title="datamodel-code-generator" \ + org.opencontainers.image.version="${VERSION}" ENV VIRTUAL_ENV=/opt/datamodel-code-generator ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"