From ed7852321a4b422b8d56a39f9f5df22c55fef3ef Mon Sep 17 00:00:00 2001 From: amit cahanovich Date: Mon, 3 May 2021 14:33:08 +0300 Subject: [PATCH] Update node.yaml --- .github/workflows/node.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.yaml b/.github/workflows/node.yaml index 68f8b85..82d9c58 100644 --- a/.github/workflows/node.yaml +++ b/.github/workflows/node.yaml @@ -29,5 +29,12 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - run: docker build . -t amitca71/node-web-app + - name: Check out the repo + uses: actions/checkout@v2 + - name: Push to Docker Hub + uses: docker/build-push-action@v1 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + repository: amitca71/my-nodejs + tag_with_ref: true