Do not use github docker repository.

This commit is contained in:
Jan Böhmer 2021-03-14 20:14:09 +01:00
parent 18bf99af4b
commit bfba868a1a

View file

@ -27,7 +27,6 @@ jobs:
# list of Docker images to use as base name for tags
images: |
jbtronics/part-db1
ghcr.io/Part-DB/part-db1
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
@ -41,14 +40,7 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2