Skip to content

Commit

Permalink
Merge pull request #340 from miabbott/speed_up_tagging
Browse files Browse the repository at this point in the history
treecompose: use 'skopeo copy' to push new tag to registry
  • Loading branch information
openshift-merge-robot authored Oct 1, 2018
2 parents a8142c7 + 03a5054 commit de9fa2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile.treecompose
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ node(NODE) {

stage("Push container") { sh """
podman push ${OSCONTAINER_IMG}:buildmaster
podman push ${OSCONTAINER_IMG}:${composeMeta.commit}
skopeo copy docker://${OSCONTAINER_IMG}:buildmaster docker://${OSCONTAINER_IMG}:${composeMeta.commit}
skopeo inspect docker://${OSCONTAINER_IMG}:buildmaster | jq '.Digest' > imgid.txt
"""
def cid = readFile('imgid.txt').trim().replaceAll('"','');
Expand Down

0 comments on commit de9fa2f

Please sign in to comment.