You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by wi...@apache.org on 2020/02/20 06:58:41 UTC

[incubator-streampipes] branch dev updated: changed order in build steps

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

wiener 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 8992eaa  changed order in build steps
8992eaa is described below

commit 8992eaa5692893260a26927d132f480600f51868
Author: Patrick Wiener <wi...@fzi.de>
AuthorDate: Thu Feb 20 07:58:29 2020 +0100

    changed order in build steps
---
 .github/workflows/build.yml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b094d05..8c04d40 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -49,15 +49,13 @@ jobs:
         run: |
           sudo apt-get install qemu-user-static
           echo "./streampipes-backend/ ./streampipes-connect-container-master/ ./ui/" | xargs -n 1 cp -v /usr/bin/qemu-*
+      - name: Login to Docker Hub
+        run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USER }} --password-stdin
       - name: Enable Docker experimental feature for multi-arch builds
         run: |
-          sudo mkdir $HOME/.docker
-          sudo touch $HOME/.docker/config.json
-          echo '{"experimental": "enabled"}' | sudo tee $HOME/.docker/config.json
+          echo '{"experimental": "enabled"}' | tee $HOME/.docker/config.json
           echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json
           sudo service docker restart
-      - name: Login to Docker Hub
-        run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USER }} --password-stdin
       - name: Build and Push Docker Backend Image
         working-directory: ./streampipes-backend
         env: