diff --git a/task/buildah/0.2/buildah.yaml b/task/buildah/0.2/buildah.yaml index aa24e07e65..7524468dff 100644 --- a/task/buildah/0.2/buildah.yaml +++ b/task/buildah/0.2/buildah.yaml @@ -9,6 +9,13 @@ metadata: tekton.dev/tags: "image-build, konflux" name: buildah spec: + computeResources: + limits: + memory: 4Gi + cpu: 4 + requests: + memory: 2Gi + cpu: 1 description: |- Buildah task builds source code into a container image and pushes the image into container registry using buildah tool. In addition it generates a SBOM file, injects the SBOM file into final container image and pushes the SBOM file as separate image using cosign tool. @@ -166,12 +173,6 @@ spec: steps: - image: quay.io/konflux-ci/buildah:latest@sha256:7cb5a35b7fe44e397fbf3b834f3bd8dcd9403a7c0a0b51469e6ec75b107d0846 name: build - computeResources: - limits: - memory: 4Gi - requests: - memory: 512Mi - cpu: 250m env: - name: COMMIT_SHA value: $(params.COMMIT_SHA) @@ -484,7 +485,6 @@ spec: - name: inject-sbom-and-push image: quay.io/konflux-ci/buildah:latest@sha256:7cb5a35b7fe44e397fbf3b834f3bd8dcd9403a7c0a0b51469e6ec75b107d0846 - computeResources: {} script: | #!/bin/bash set -e