message: Separate docker login action
diff: @@ -43,12 +43,17 @@ jobs:
  replace: "newTag: ${{ steps.comment-branch.outputs.head_ref }}"
  include: "kustomization.yaml"
  + - name: Login to DockerHub
  + uses: docker/login-action@v1
  + id: docker-login
  + with:
  + username: ${{ secrets.DOCKER_USERNAME }}
  + password: ${{ secrets.DOCKER_PASSWORD }}
  +
  - name: build-tag-push
  uses: docker/build-push-action@v2
  id: docker
  with:
  - username: ${{ secrets.DOCKER_USERNAME }}
  - password: ${{ secrets.DOCKER_PASSWORD }}
  file: docker/Dockerfile
  cache-from: type=registry,ref=xaynetwork/xaynet
  tags: ${{ steps.comment-branch.outputs.head_ref }}
  