fix: add no_cache to all Woodpecker service builds to prevent stale COPY layers
This commit is contained in:
@@ -28,6 +28,7 @@ steps:
|
||||
- ${CI_COMMIT_SHA}
|
||||
- latest
|
||||
dockerfile: docker/Dockerfile
|
||||
no_cache: true
|
||||
context: .
|
||||
build_args: SERVICE_CMD=python -m services.extractor.worker
|
||||
backend_options:
|
||||
@@ -64,6 +65,7 @@ steps:
|
||||
- ${CI_COMMIT_SHA}
|
||||
- latest
|
||||
dockerfile: docker/Dockerfile
|
||||
no_cache: true
|
||||
context: .
|
||||
build_args: SERVICE_CMD=python -m services.aggregation.worker
|
||||
backend_options:
|
||||
@@ -100,6 +102,7 @@ steps:
|
||||
- ${CI_COMMIT_SHA}
|
||||
- latest
|
||||
dockerfile: docker/Dockerfile
|
||||
no_cache: true
|
||||
context: .
|
||||
build_args: SERVICE_CMD=python -m services.recommendation.worker
|
||||
backend_options:
|
||||
@@ -136,6 +139,7 @@ steps:
|
||||
- ${CI_COMMIT_SHA}
|
||||
- latest
|
||||
dockerfile: docker/Dockerfile
|
||||
no_cache: true
|
||||
context: .
|
||||
build_args: SERVICE_CMD=uvicorn services.risk.app:app --host 0.0.0.0 --port 8000
|
||||
backend_options:
|
||||
|
||||
Reference in New Issue
Block a user