Push docker images also to ghcr.io

This commit is contained in:
Wim 2021-10-17 22:42:00 +02:00
parent 4478d5d904
commit 21305d93bf
No known key found for this signature in database
GPG Key ID: 5E423DA5C9AA63D4

View File

@ -30,7 +30,7 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v3 uses: docker/metadata-action@v3
with: with:
images: 42wim/matterbridge images: 42wim/matterbridge,ghcr.io/42wim/matterbridge
flavor: | flavor: |
latest=true latest=true
tags: | tags: |
@ -47,7 +47,7 @@ jobs:
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- -
name: Log into registry ghcr.io name: Log into registry ghcr.io
uses: docker/login-action@v1 uses: docker/login-action@v1
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'