Skip to content

Commit

Permalink
Remove quotes from BASE_IMAGES
Browse files Browse the repository at this point in the history
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com>
  • Loading branch information
Zokormazo committed Jan 21, 2025
1 parent ab4d129 commit 0c0aa05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/buildah/0.3/buildah.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ spec:
dockerfile-json "${BUILD_ARG_FLAGS[@]}" "$dockerfile_copy" > /shared/parsed_dockerfile.json
BASE_IMAGES=$(
jq -r '.Stages[] | select(.From | .Stage or .Scratch | not) | .BaseName | select(test("^oci-archive:") | not)' /shared/parsed_dockerfile.json
jq -r '.Stages[] | select(.From | .Stage or .Scratch | not) | .BaseName | select(test("^oci-archive:") | not) | sub("\"+(?<image>[^\"]*)\"?" ; .image)' /shared/parsed_dockerfile.json
)
BUILDAH_ARGS=()
Expand Down

0 comments on commit 0c0aa05

Please sign in to comment.