Fix resources isues 30
This commit is contained in:
@@ -158,7 +158,8 @@ spec:
|
||||
--build-arg="BASE_REGISTRY=$(params.base-registry)" \
|
||||
--build-arg="PYTHON_IMAGE=$(params.python-image)" \
|
||||
--cache=true \
|
||||
--cache-repo="$(params.registry)/cache"
|
||||
--cache-repo="$(params.registry)/cache" \
|
||||
--cache-ttl=168h
|
||||
|
||||
echo "Successfully built: $(params.registry)/$service:$(params.git-revision)"
|
||||
fi
|
||||
|
||||
@@ -41,6 +41,9 @@ spec:
|
||||
# Track the source commit
|
||||
bakery-ia.io/git-revision: $(tt.params.git-revision)
|
||||
bakery-ia.io/git-branch: $(tt.params.git-branch)
|
||||
# Automatic cleanup: delete PipelineRun after completion
|
||||
# Default: 1 hour (3600 seconds). Configure via values.yaml
|
||||
tekton.dev/pipelinerunDeletionPropagation: "foreground"
|
||||
spec:
|
||||
pipelineRef:
|
||||
name: bakery-ia-ci
|
||||
|
||||
Reference in New Issue
Block a user