summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXuan Jia <jason.jiaxuan@gmail.com>2017-12-22 01:44:11 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-22 01:44:11 +0000
commitc7dbc67c97d227763943e6f1b8fbf063c6775ad8 (patch)
treee6b7444ba94a48b4ec15dfbdece5d88c14e262ca
parent09c951502f43c477d48903bc335905b2d5287295 (diff)
parent790f1cd5203723400576fafbfd8519c83a010351 (diff)
Merge "Upload docker images for container4nfv"
-rwxr-xr-xci/upload.sh13
-rw-r--r--src/vnf/ping/Dockerfile2
2 files changed, 12 insertions, 3 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
diff --git a/src/vnf/ping/Dockerfile b/src/vnf/ping/Dockerfile
index 9143623..c0ac67c 100644
--- a/src/vnf/ping/Dockerfile
+++ b/src/vnf/ping/Dockerfile
@@ -1,5 +1,5 @@
FROM ubuntu:16.04
-LABEL maintainer="OPNFV OpenRetreiver"
+LABEL maintainer="OPNFV CONTAINER4NFV"
EXPOSE 22
RUN apt-get update -y