Compare commits

...

5 commits
v0.4.5 ... main

Author SHA1 Message Date
763e9aa70b Rename container
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/build Pipeline was successful
2025-06-25 15:37:29 +02:00
d1c9bc1c01 Ficx
All checks were successful
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/build Pipeline was successful
2025-06-25 15:33:43 +02:00
9a948fde8e Fix
Some checks failed
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/build Pipeline failed
2025-06-25 15:00:40 +02:00
e5e6c029fa AAdd access to git in Containerfile
Some checks failed
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/build Pipeline failed
2025-06-25 14:57:16 +02:00
1190718e98 Use local images
Some checks failed
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/build Pipeline failed
2025-06-25 14:47:11 +02:00
2 changed files with 10 additions and 6 deletions

View file

@ -11,7 +11,7 @@ steps:
image: code.philo.ydns.eu/philorg/woodpecker-buildah image: code.philo.ydns.eu/philorg/woodpecker-buildah
settings: settings:
registry: code.philo.ydns.eu registry: code.philo.ydns.eu
repository: philorg/test-woodpecker repository: philorg/test-woodpecker-python
tags: ${CI_COMMIT_SHA} tags: ${CI_COMMIT_SHA}
architectures: amd64 architectures: amd64
context: Containerfile context: Containerfile
@ -21,7 +21,7 @@ steps:
from_secret: registry_password from_secret: registry_password
sync: sync:
image: ghcr.io/astral-sh/uv:python3.13-alpine image: code.philo.ydns.eu/philorg/uv
volumes: volumes:
- uv-cache:/uv-cache - uv-cache:/uv-cache
environment: environment:
@ -31,7 +31,7 @@ steps:
- uv sync - uv sync
build: build:
image: ghcr.io/astral-sh/uv:python3.13-alpine image: code.philo.ydns.eu/philorg/uv
volumes: volumes:
- uv-cache:/uv-cache - uv-cache:/uv-cache
environment: environment:
@ -42,7 +42,7 @@ steps:
- uv cache prune --ci - uv cache prune --ci
push_python: push_python:
image: ghcr.io/astral-sh/uv:python3.13-alpine image: code.philo.ydns.eu/philorg/uv
environment: environment:
OWNER: philorg OWNER: philorg
REGISTRY_URL: https://code.philo.ydns.eu REGISTRY_URL: https://code.philo.ydns.eu

View file

@ -4,9 +4,13 @@ FROM docker.io/python:alpine
COPY . /app COPY . /app
# Sync the project into a new environment, using the frozen lockfile
WORKDIR /app WORKDIR /app
RUN --mount=from=ghcr.io/astral-sh/uv:alpine,source=/usr/local/bin/uv,target=/bin/uv uv pip install --system . # Sync the project into a new environment, using the frozen lockfile
RUN \
--mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/local/bin/uv,target=/bin/uv \
--mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/lib/libpcre2-8.so.0,target=/usr/lib/libpcre2-8.so.0 \
--mount=from=code.philo.ydns.eu/philorg/uv,source=/usr/bin/git,target=/usr/bin/git \
uv pip install --system .
ENTRYPOINT ["foo"] ENTRYPOINT ["foo"]