Push docker images to GitHub Container Registry too

pull/1025/head
Michele Locati 2024-11-28 22:44:14 +01:00
parent 0b7113d04c
commit 1d064f46e4
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 8 additions and 0 deletions

View File

@ -171,6 +171,14 @@ jobs:
with:
username: mlocati
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
if: env.VERSIONTAG_THIS != ''
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Set up docker buildx
if: env.VERSIONTAG_THIS != ''