Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treecompose: properly record sha256sum #323

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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