File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5757
5858 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
5959
60- - name : Initialize Attestation
61- run : |
62- chainloop attestation init --workflow ${CHAINLOOP_WORKFLOW_NAME} --project ${CHAINLOOP_PROJECT} --debug
63-
6460 - name : Package Chart
6561 run : helm package deployment/chainloop/
6662
6965 export CONTAINER_CP=$(cat deployment/chainloop/Chart.yaml | yq -r .annotations.images | yq -r '.[] | select(.name == "control-plane") | .image')
7066 export CONTAINER_CAS=$(cat deployment/chainloop/Chart.yaml | yq -r .annotations.images | yq -r '.[] | select(.name == "artifact-cas") | .image')
7167 chart_version=$(cat deployment/chainloop/Chart.yaml | yq .version)
68+ app_version=$(cat deployment/chainloop/Chart.yaml | yq .appVersion)
69+
70+ # Force the version that's inside the Chart.yaml file
71+ chainloop attestation init --workflow ${CHAINLOOP_WORKFLOW_NAME} --project ${CHAINLOOP_PROJECT} --version ${app_version}
7272
7373 # Attest Control plane image
7474 chainloop attestation add --name control-plane-image --value "${CONTAINER_CP}"
You can’t perform that action at this time.
0 commit comments