streampipes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rie...@apache.org
Subject [incubator-streampipes] branch dev updated: STREAMPIPES-46: Add stage to push Connect Master image
Date Thu, 12 Dec 2019 22:18:12 GMT
This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new a6090f8  STREAMPIPES-46: Add stage to push Connect Master image
a6090f8 is described below

commit a6090f80f09fbbab0610d27be3902462e8eb67de
Author: Dominik Riemer <riemer@fzi.de>
AuthorDate: Thu Dec 12 23:17:59 2019 +0100

    STREAMPIPES-46: Add stage to push Connect Master image
---
 .github/workflows/build.yml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a4e9774..afc2c76 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -18,12 +18,17 @@ jobs:
         run: mvn clean package javadoc:aggregate
       - name: Login to Docker Hub
         run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USER
}} --password-stdin
-      - name: Build Docker Backend Image
+      - name: Build and Push Docker Backend Image
         run: |
           MVN_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
           BACKEND_IMAGE_NAME=apachestreampipes/backend:$MVN_VERSION
           echo MVN_VERSION=$MVN_VERSION
           echo BACKEND_IMAGE_NAME=$BACKEND_IMAGE_NAME
           docker build --pull -t $BACKEND_IMAGE_NAME ./streampipes-backend/
-      - name: Push to Docker Hub
-        run: docker push $BACKEND_IMAGE_NAME
+          docker push $BACKEND_IMAGE_NAME
+      - name: Push and Push Docker Connect Image
+        run: |
+          MVN_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
+          CONNECT_IMAGE_NAME=apachestreampipes/streampipes-connect-container:$MVN_VERSION
+          docker build --pull -t $CONNECT_IMAGE_NAME ./streampipes-connect-container-master/
+          docker push $CONNECT_IMAGE_NAME


Mime
View raw message