diff options
Diffstat (limited to 'ci/upload.sh')
-rwxr-xr-x | ci/upload.sh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/ci/upload.sh b/ci/upload.sh index 957b034..a586610 100755 --- a/ci/upload.sh +++ b/ci/upload.sh @@ -16,5 +16,14 @@ # set -ex -echo dummy > dummy -gsutil cp dummy gs://$GS_URL/dummy +# Build the images +docker build -t container4nfv/ping ../src/vnf/ping/. +docker build -t container4nfv/virtio-user-ping ../src/vnf/virtio-user-ping/. + +# Save the images +docker save --output container4nfv-ping.tar container4nfv/ping +docker save --output container4nfv-virtio-user-ping.tar container4nfv/virtio-user-ping + +# Upload both .tar to artifacts +gsutil cp container4nfv-ping.tar gs://$GS_URL/container4nfv-ping.tar +gsutil cp container4nfv-virtio-user-ping.tar gs://$GS_URL/container4nfv-virtio-user-ping.tar |