fix: add CACHE_BUST ARG to Dockerfile + build args to force fresh COPY layers per commit

This commit is contained in:
Celes Renata
2026-05-01 23:23:49 +00:00
parent 139fbd6342
commit 3a8c6f6c80
4 changed files with 34 additions and 11 deletions
+9 -3
View File
@@ -65,7 +65,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=uvicorn services.symbol_registry.app:app --host 0.0.0.0 --port 8000
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=uvicorn services.symbol_registry.app:app --host 0.0.0.0 --port 8000
backend_options:
kubernetes:
resources:
@@ -102,7 +104,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=python -m services.ingestion.worker
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=python -m services.ingestion.worker
backend_options:
kubernetes:
resources:
@@ -139,7 +143,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=python -m services.parser.worker
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=python -m services.parser.worker
backend_options:
kubernetes:
resources: