diff --git a/.github/workflows/node-push.js.yml b/.github/workflows/node-push.js.yml index 039baba4..fc608040 100644 --- a/.github/workflows/node-push.js.yml +++ b/.github/workflows/node-push.js.yml @@ -76,19 +76,6 @@ jobs: build: name: 'Publish to dockerhub' needs: [frontend, backend] - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Publish to Dockerhub - uses: docker/build-push-action@v1.1.0 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - repository: hybakteeripeli/app - tags: latest - - docker: runs-on: ubuntu-latest steps: - name: Checkout @@ -98,8 +85,7 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push + - name: Build and push uses: docker/build-push-action@v6 with: push: true