login into github container reg

This commit is contained in:
Peter Buchegger 2022-01-30 23:37:36 +01:00
parent 7240569a87
commit 99eaac3ef3
1 changed files with 4 additions and 3 deletions

View File

@ -17,11 +17,12 @@ jobs:
# uses: docker/setup-qemu-action@v1
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with: