From eb5534c61c8b50edfae2ae9e6dcf1a75b16a9e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Bani=C4=87?= Date: Thu, 13 Apr 2023 01:31:20 +0200 Subject: [PATCH] Add ghcr.io registry --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2825ce4..0b759a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,14 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_TOKEN }} + - name: Login to GitHub Container Registry + if: "${{ steps.docker_meta.outcome == 'success' }}" + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build id: build if: "${{ steps.docker_meta.outcome == 'skipped' }}"