From 8a03287ebfe4d646b8d2605fa0b21c741222b5a9 Mon Sep 17 00:00:00 2001 From: Pedro Gomes Date: Wed, 12 Aug 2020 13:43:59 +0200 Subject: [PATCH] add ops --- ops/deploy.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ops/deploy.sh diff --git a/ops/deploy.sh b/ops/deploy.sh new file mode 100644 index 0000000..a2682c3 --- /dev/null +++ b/ops/deploy.sh @@ -0,0 +1,8 @@ +#! /bin/bash +project_name="connextproject/rest-api-client" + +echo "Building Docker image for $project_name" +docker build -t $project_name . + +echo "Pushing $project_name to Docker Hub" +docker push $project_name