You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:53:09 UTC

[buildstream] 12/13: contrib/bst-docker-import: use bst artifact checkout

This is an automated email from the ASF dual-hosted git repository.

not-in-ldap pushed a commit to branch richardmaw/artifact-subcommands
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit b40d1011a04a7ee2f88112e3d2f908d8bedff08f
Author: Richard Maw <ri...@codethink.co.uk>
AuthorDate: Tue Dec 11 16:59:04 2018 +0000

    contrib/bst-docker-import: use bst artifact checkout
---
 contrib/bst-docker-import | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/bst-docker-import b/contrib/bst-docker-import
index dfb16d7..c15eaf1 100755
--- a/contrib/bst-docker-import
+++ b/contrib/bst-docker-import
@@ -90,7 +90,7 @@ element="$1"
 checkout_tar="bst-checkout-$(basename "$element")-$RANDOM.tar"
 
 echo "INFO: Checking out $element ..." >&2
-$bst_cmd checkout --tar "$element" "$checkout_tar" || die "Failed to checkout $element"
+$bst_cmd artifact checkout "$element" --tar "$checkout_tar" || die "Failed to checkout $element"
 echo "INFO: Successfully checked out $element" >&2
 
 echo "INFO: Importing Docker image ..." >&2