diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ee428bd..6f1a8ff 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -10,10 +10,11 @@ jobs: steps: - name: 'Checkout GitHub Action' uses: actions/checkout@v2 - - name: Build and push docker - uses: docker/build-push-action@v2 + + - name: Login to DockerHub + uses: docker/login-action@v1 with: username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_PASSWORD }} - repository: DOCKER_REPOSITORY - tags: latest + - name: Build and push docker + uses: docker/build-push-action@v2