Fixing push action
authorDavid Négrier <d.negrier@thecodingmachine.com>
Thu, 9 Apr 2020 09:56:29 +0000 (11:56 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Thu, 9 Apr 2020 09:56:29 +0000 (11:56 +0200)
.github/workflows/build-and-deploy.yml

index 9318049d48e8872a244568509d3fc1ea95c8eecd..a2e21d3f2746a03527a4ce1b2cea068411ef0aad 100644 (file)
@@ -26,6 +26,7 @@ jobs:
       - name: "Build and push front image"
         uses: docker/build-push-action@v1
         with:
+          dockerfile: front/Dockerfile
           username: ${{ secrets.DOCKER_USERNAME }}
           password: ${{ secrets.DOCKER_PASSWORD }}
           repository: thecodingmachine/workadventure-front
@@ -45,12 +46,12 @@ jobs:
       - name: "Build and push back image"
         uses: docker/build-push-action@v1
         with:
+          dockerfile: back/Dockerfile
           username: ${{ secrets.DOCKER_USERNAME }}
           password: ${{ secrets.DOCKER_PASSWORD }}
           repository: thecodingmachine/workadventure-back
           tag_with_ref: true
           add_git_labels: true
-        working-directory: "back"
 
   deeploy:
     needs: