Compare commits

..

3 Commits

Author SHA1 Message Date
Brock H Caldwell
b8a22e63c9 WIP: CI docker
All checks were successful
CI / build-test (push) Successful in 3m15s
2026-03-09 15:20:41 -05:00
Brock H Caldwell
e489f73f7c fix(ci): adds --ignore-platform-reqs to composer
All checks were successful
CI / build-test (push) Successful in 2m54s
2026-03-09 13:59:25 -05:00
Brock H Caldwell
554b7774f6 Update docker
All checks were successful
CI / build-test (push) Successful in 3m10s
2026-03-09 13:14:27 -05:00
3 changed files with 6 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ jobs:
run: composer global require phing/phing
- name: Run composer
run: composer install --no-dev --no-scripts -o
run: composer install --no-dev --no-scripts --ignore-platform-reqs -o
- name: Build tailwind
run: APP_ENV=build php bin/console tailwind:build
@@ -45,7 +45,7 @@ jobs:
tag="${{ gitea.REF_NAME }}"
tmdb_api="${{ vars.TMDB_API }}"
version=${tag:1}
docker build -f docker/Dockerfile.app \
docker build --pull -f docker/Dockerfile.app \
-t code.caldwell.digital/home/torsearch-app:${version} \
-t code.caldwell.digital/home/torsearch-app:latest \
--build-arg "APP_VERSION=${version}" \
@@ -59,7 +59,7 @@ jobs:
tag="${{ gitea.REF_NAME }}"
tmdb_api="${{ vars.TMDB_API }}"
version=${tag:1}
docker build -f docker/Dockerfile.worker \
docker build --pull -f docker/Dockerfile.worker \
-t code.caldwell.digital/home/torsearch-worker:${version} \
-t code.caldwell.digital/home/torsearch-worker:latest \
--build-arg "APP_VERSION=${version}" \
@@ -73,7 +73,7 @@ jobs:
tag="${{ gitea.REF_NAME }}"
tmdb_api="${{ vars.TMDB_API }}"
version=${tag:1}
docker build -f docker/Dockerfile.scheduler \
docker build --pull -f docker/Dockerfile.scheduler \
-t code.caldwell.digital/home/torsearch-scheduler:${version} \
-t code.caldwell.digital/home/torsearch-scheduler:latest \
--build-arg "APP_VERSION=${version}" \

View File

@@ -15,6 +15,7 @@ FROM code.caldwell.digital/home/torsearch-app:${APP_VERSION} AS app_image
FROM code.caldwell.digital/home/torsearch-base-worker-supervisord:latest
# Set the APP_VERSION in the image
ARG APP_VERSION="latest"
ENV APP_VERSION=${APP_VERSION}
ARG TMDB_API=""

View File

@@ -15,6 +15,7 @@ FROM code.caldwell.digital/home/torsearch-app:${APP_VERSION} AS app_image
FROM code.caldwell.digital/home/torsearch-base-worker-supervisord:latest
# Set the APP_VERSION in the image
ARG APP_VERSION="latest"
ENV APP_VERSION=${APP_VERSION}
ARG TMDB_API=""