From 3e801eba3fbc57aa5a9b93f583aa6d1c78304fac Mon Sep 17 00:00:00 2001 From: welpaolo Date: Fri, 19 Apr 2024 15:54:44 +0200 Subject: [PATCH] [MISC] Fix account name and password for publishing (#3) --- .github/workflows/build.yaml | 2 +- .github/workflows/publish.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d2ed9bf..5d3f257 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -38,7 +38,7 @@ jobs: - name: Install dependencies run: | sudo snap install yq - sudo snap install rockcraft --classic --edge + sudo snap install rockcraft --classic sudo snap install --devmode --channel edge skopeo - name: Build image diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index ba5b33c..92dd891 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -76,8 +76,8 @@ jobs: uses: docker/login-action@v2 with: registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.GHCR_USER }} + password: ${{ secrets.GHCR_TOKEN }} - name: Import and push to GHCR run: |