Closed cmoulliard closed 1 year ago
Adding double quotes dont help at all
- name: results
image: docker.io/library/bash:5.1.4
args:
- -c
- |
set -e
cat /layers/report.toml | grep "digest" | cut -d'"' -f2 | cut -d'"' -f2 | tr -d '\n' | tee "$(results.APP_IMAGE_DIGEST.path)"
volumeMounts:
- name: layers-dir
mountPath: /layers
as bash reports
bash: line 2: results.APP_IMAGE_DIGEST.path: command not found
tee: : No such file or directory
The problem is coming from what it is described here as currently the images results
variables (digest, size, etc) are not the same between Shipwright shp-imlage-xxx
and Tekton.
Fixed with: c8ce0e7, ebc6d01
Issue
Buildpack shipwright job reports such a bash error