Skip to content

Commit

Permalink
Merge pull request openshift#323 from miabbott/fix_sha256sum_oscontainer
Browse files Browse the repository at this point in the history
treecompose: properly record sha256sum
  • Loading branch information
openshift-merge-robot authored Sep 27, 2018
2 parents dfa7fb0 + 94f5e5f commit e516f9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile.treecompose
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ node(NODE) {

stage("Push container") { sh """
podman push ${OSCONTAINER_IMG}
podman inspect --format='{{.Id}}' ${OSCONTAINER_IMG} > imgid.txt
skopeo inspect docker://${OSCONTAINER_IMG} | jq '.Digest' > imgid.txt
"""
def cid = readFile('imgid.txt').trim();
currentBuild.description = "🆕 ${OSCONTAINER_IMG}@sha256:${cid} (${composeMeta.version})";
def cid = readFile('imgid.txt').trim().replaceAll('"','');
currentBuild.description = "🆕 ${OSCONTAINER_IMG}@${cid} (${composeMeta.version})";
}

stage("rsync out") {
Expand Down

0 comments on commit e516f9b

Please sign in to comment.