name: Docker deploy

on:
  push:
    branches:
      - dev

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: checkout
        uses: actions/checkout@v1
        with:
          ref: dev
      - name: Login to DockerHub Registry
        run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
      - name: Build images
        run: |
          sudo apt install gcc
          docker build . --file ./apps/node/Dockerfile --tag openmined/grid-node:latest
          docker build . --file ./apps/network/Dockerfile --tag openmined/grid-network:latest
      - name: Push images
        run: |
          docker push openmined/grid-node:latest
          docker push openmined/grid-network:latest

name: Docker deploy

on:
  push:
    branches:
      - dev

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: checkout
        uses: actions/checkout@v1
        with:
          ref: dev
      - name: Login to DockerHub Registry
        run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
      - name: Build images
        run: |
          sudo apt install gcc
          cd ./apps/node/
          docker build . --tag openmined/grid-node:latest

          cd ../network/
          docker build . --tag openmined/grid-network:latest
      - name: Push images
        run: |
          docker push openmined/grid-node:latest
          docker push openmined/grid-network:latest

Fix github action docker building path
Fix github action docker building path
