Containers: use public registry
This commit is contained in:
parent
23afaa7c82
commit
a1a499b370
6 changed files with 9 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
# Build: podman build -t code.philo.ydns.eu/philorg/treetrail-backend-base -f Containerfile.base
|
||||
|
||||
FROM tiptop:5000/treetrail-backend-deps
|
||||
FROM code.philo.ydns.eu/philorg/treetrail-backend-deps
|
||||
|
||||
ENV PYTHONPATH $UV_PROJECT_ENVIRONMENT/lib/python3.12/site-packages
|
||||
ARG APP_VERSION=0.0.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Build: podman build -t code.philo.ydns.eu/philorg/treetrail-backend-ci -f Containerfile.ci
|
||||
|
||||
FROM tiptop:5000/python-ci
|
||||
FROM code.philo.ydns.eu/philorg/python-ci
|
||||
|
||||
COPY ./pyproject.toml ./README.md ./uv.lock /_lock/
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Build: podman build -t code.philo.ydns.eu/philorg/treetrail-backend-deps -f Containerfile.deps
|
||||
|
||||
FROM tiptop:5000/trixie_python
|
||||
FROM code.philo.ydns.eu/philorg/trixie_python
|
||||
|
||||
COPY ./pyproject.toml ./README.md ./uv.lock /_lock/
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Build: podman build -t code.philo.ydns.eu/philorg/treetrail-backend-full -f Containerfile.full_copy
|
||||
FROM localhost/trixie_python
|
||||
FROM code.philo.ydns.eu/philorg/trixie_python
|
||||
|
||||
ENV PYTHONPATH $UV_PROJECT_ENVIRONMENT/lib/python3.12/site-packages
|
||||
ENV PATH=/app/bin:$PATH
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Build: podman build -t code.philo.ydns.eu/philorg/trixie_python -f Containerfile.trixie_python
|
||||
|
||||
FROM debian:trixie-slim
|
||||
FROM docker.io/library/debian:trixie-slim
|
||||
|
||||
RUN <<EOT
|
||||
apt-get update -qy
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
vars:
|
||||
force_rm: false
|
||||
cache: false
|
||||
repository: tiptop:5000
|
||||
repository: code.philo.ydns.eu
|
||||
organisation: philorg
|
||||
|
||||
tasks:
|
||||
#- name: Read conf
|
||||
|
@ -28,7 +29,7 @@
|
|||
file: Containerfile.deps
|
||||
push: true
|
||||
push_args:
|
||||
dest: "{{ repository }}/treetrail-backend-deps"
|
||||
dest: "{{ repository }}/{{ organisation }}/treetrail-backend-deps"
|
||||
|
||||
- name: Get the version from git
|
||||
command: git describe --dirty --tags
|
||||
|
@ -50,4 +51,4 @@
|
|||
extra_args: "--build-arg APP_VERSION={{ version.stdout }}"
|
||||
push: true
|
||||
push_args:
|
||||
dest: "{{ repository }}/treetrail-backend:{{ version.stdout }}"
|
||||
dest: "{{ repository }}/{{ organisation }}/treetrail-backend:{{ version.stdout }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue