fix(ci): gate image build on asyncpg and disable DinD layer cache
The main-f9f0091 Forgejo image shipped with an empty venv (0-byte requirements.txt). Add Dockerfile RUN verification, --no-cache on CI build, and a post-build import smoke test before push.
This commit is contained in:
parent
f9f0091cfe
commit
8ee95dabb9
3 changed files with 8 additions and 2 deletions
|
|
@ -36,6 +36,9 @@ COPY --from=hub_core_src hub_core/ /tmp/hub-core/hub_core/
|
|||
|
||||
RUN uv pip install --python /app/.venv/bin/python --no-cache /tmp/hub-core
|
||||
|
||||
RUN test -s /tmp/requirements.txt \
|
||||
&& /app/.venv/bin/python -c "import asyncpg"
|
||||
|
||||
COPY alembic.ini ./
|
||||
COPY api/ ./api/
|
||||
COPY flows/ ./flows/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue