adoptium/ci-jenkins-pipelines

rhel sbom missing docker image SHA

andrew-m-leonard opened this issue · 1 comments

Looks like the line that obtains the dockerImageDigest is within a !rhel section.
Line:

dockerImageDigest = context.sh(script: "docker inspect --format='{{.RepoDigests}}' ${buildConfig.DOCKER_IMAGE}", returnStdout:true)

simply needs moving to outside the "!rhel" check