changed order in build steps
@@ -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:
