From 1bb30c81a2229482eebb20c799cd0a46400aaba9 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Thu, 30 Jun 2022 01:42:28 -0700 Subject: [PATCH 1/3] Change ghcr login method. --- .github/workflows/cd-manual.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd-manual.yml b/.github/workflows/cd-manual.yml index d344e3b8..c8f27926 100644 --- a/.github/workflows/cd-manual.yml +++ b/.github/workflows/cd-manual.yml @@ -26,6 +26,6 @@ jobs: image: umami tags: ${{ matrix.db-type }}-${{ inputs.version }}, ${{ matrix.db-type }}-latest buildArgs: DATABASE_TYPE=${{ matrix.db-type }} - registry: ghcr.io/${{ github.repository_owner }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + registry: ghcr.io + username: ${{ secrets.GHCR_USERNAME }} + password: ${{ secrets.GHCR_TOKEN }} From 26ca6a3d874a3cfa3c82bf5572b5478e3512bbb6 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Thu, 30 Jun 2022 01:51:53 -0700 Subject: [PATCH 2/3] Revert change. --- .github/workflows/cd-manual.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd-manual.yml b/.github/workflows/cd-manual.yml index c8f27926..d344e3b8 100644 --- a/.github/workflows/cd-manual.yml +++ b/.github/workflows/cd-manual.yml @@ -26,6 +26,6 @@ jobs: image: umami tags: ${{ matrix.db-type }}-${{ inputs.version }}, ${{ matrix.db-type }}-latest buildArgs: DATABASE_TYPE=${{ matrix.db-type }} - registry: ghcr.io - username: ${{ secrets.GHCR_USERNAME }} - password: ${{ secrets.GHCR_TOKEN }} + registry: ghcr.io/${{ github.repository_owner }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} From 5358e28a68e0ccf4fdba95dbdc495779429f2a4f Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Thu, 30 Jun 2022 10:31:01 -0700 Subject: [PATCH 3/3] Change registry entry in workflows. --- .github/workflows/cd-manual.yml | 2 +- .github/workflows/cd.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd-manual.yml b/.github/workflows/cd-manual.yml index d344e3b8..6b04dd84 100644 --- a/.github/workflows/cd-manual.yml +++ b/.github/workflows/cd-manual.yml @@ -26,6 +26,6 @@ jobs: image: umami tags: ${{ matrix.db-type }}-${{ inputs.version }}, ${{ matrix.db-type }}-latest buildArgs: DATABASE_TYPE=${{ matrix.db-type }} - registry: ghcr.io/${{ github.repository_owner }} + registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 96755820..6d8a7f73 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,6 +25,6 @@ jobs: image: umami tags: ${{ matrix.db-type }}-${{ env.RELEASE_VERSION }}, ${{ matrix.db-type }}-latest buildArgs: DATABASE_TYPE=${{ matrix.db-type }} - registry: ghcr.io/${{ github.repository_owner }} + registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }}