Update registry and containers for CI
All checks were successful
/ test (push) Successful in 25s
/ build (push) Successful in 15s

This commit is contained in:
phil 2024-12-05 18:59:55 +01:00
parent 259f881815
commit 5c27a26e78
7 changed files with 13 additions and 12 deletions

View file

@ -98,6 +98,6 @@ jobs:
if: fromJSON(steps.builder.outputs.run) if: fromJSON(steps.builder.outputs.run)
uses: actions/push-to-registry@v2 uses: actions/push-to-registry@v2
with: with:
registry: "docker://${{ vars.REGISTRY }}" registry: "docker://${{ vars.REGISTRY }}/${{ vars.ORGANISATION }}"
image: treetrail-backend image: treetrail-backend
tags: ${{ steps.version.outputs.version }} tags: ${{ steps.version.outputs.version }}

View file

@ -1,4 +1,4 @@
# Build: podman build -t treetrail-backend-base -f Containerfile.base # Build: podman build -t code.philo.ydns.eu/philorg/treetrail-backend-base -f Containerfile.base
FROM tiptop:5000/treetrail-backend-deps FROM tiptop:5000/treetrail-backend-deps

View file

@ -1,4 +1,4 @@
# Build: podman build -t treetrail-backend-ci -f Containerfile.ci # Build: podman build -t code.philo.ydns.eu/philorg/treetrail-backend-ci -f Containerfile.ci
FROM tiptop:5000/python-ci FROM tiptop:5000/python-ci

View file

@ -1,4 +1,4 @@
# Build: podman build -t treetrail-backend-deps -f Containerfile.deps # Build: podman build -t code.philo.ydns.eu/philorg/treetrail-backend-deps -f Containerfile.deps
FROM tiptop:5000/trixie_python FROM tiptop:5000/trixie_python

View file

@ -1,3 +1,4 @@
# Build: podman build -t code.philo.ydns.eu/philorg/treetrail-backend-full -f Containerfile.full_copy
FROM localhost/trixie_python FROM localhost/trixie_python
ENV PYTHONPATH $UV_PROJECT_ENVIRONMENT/lib/python3.12/site-packages ENV PYTHONPATH $UV_PROJECT_ENVIRONMENT/lib/python3.12/site-packages

View file

@ -1,4 +1,4 @@
# Build: podman build -t trixie_python -f Containerfile.trixie_python # Build: podman build -t code.philo.ydns.eu/philorg/trixie_python -f Containerfile.trixie_python
FROM debian:trixie-slim FROM debian:trixie-slim
@ -15,9 +15,9 @@ EOT
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
ENV UV_LINK_MODE=copy \ ENV UV_LINK_MODE=copy \
UV_COMPILE_BYTECODE=1 \ UV_COMPILE_BYTECODE=1 \
UV_PYTHON_DOWNLOADS=never \ UV_PYTHON_DOWNLOADS=never \
#UV_PYTHON=python3.12 \ #UV_PYTHON=python3.12 \
UV_PROJECT_ENVIRONMENT=/app \ UV_PROJECT_ENVIRONMENT=/app \
PYTHONPATH=/app/lib/python3.12/site-packages \ PYTHONPATH=/app/lib/python3.12/site-packages \
PATH=/app/bin:$PATH PATH=/app/bin:$PATH

2
uv.lock generated
View file

@ -1589,7 +1589,7 @@ wheels = [
[[package]] [[package]]
name = "treetrail-backend" name = "treetrail-backend"
version = "0.3.0" version = "0.0.0"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "aiofiles" }, { name = "aiofiles" },