message: chore(docker): push to github packages
diff: @@ -16,21 +16,27 @@ jobs:
  - uses: docker/setup-buildx-action@v1
  - uses: docker/setup-qemu-action@v1
  +
  - name: Login to dockerhub
  uses: docker/login-action@v1
  with:
  username: ${{ secrets.DOCKER_USERNAME }}
  password: ${{ secrets.DOCKER_PASSWORD }}
  - - name: Login to GHCR
  +
  + - name: Login to Github Packages
  + if: ${{ github.event_name != 'pull_request' }}
  uses: docker/login-action@v1
  with:
  - registry: ghcr.io
  - username: zwave-js-bot
  - password: ${{ secrets.BOT_TOKEN }}
  + registry: docker.pkg.github.com
  + username: ${{ github.actor }}
  + password: ${{ secrets.GITHUB_TOKEN }}
  +
  - id: docker_meta
  uses: crazy-max/ghaction-docker-meta@v1
  with:
  - images: zwavejs/zwavejs2mqtt,ghcr.io/zwavejs/zwavejs2mqtt
  + images: |
  + zwavejs/zwavejs2mqtt
  + docker.pkg.github.com/zwavejs/zwavejs2mqtt/zwavejs2mqtt
  tag-sha: true
  tag-latest: true
  tag-semver: |
  