From 8098d3fec89fb118387020d4addeb000b04398b9 Mon Sep 17 00:00:00 2001 From: Anton Larin Date: Mon, 15 May 2023 18:54:03 +0200 Subject: [PATCH] fix workflow nad login to GHCR according to the GH documentation https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions --- .github/workflows/ci.yml | 2 +- .github/workflows/cife.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50c48d5..288f7b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.GHCR_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} # Runs a single command using the runners shell - name: Build and push Docker images to docker.io and ghcr.io diff --git a/.github/workflows/cife.yml b/.github/workflows/cife.yml index 8e5149e..2b73a09 100644 --- a/.github/workflows/cife.yml +++ b/.github/workflows/cife.yml @@ -23,13 +23,13 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - + - name: Login to ghcr.io uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.GHCR_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} # Runs a single command using the runners shell - name: Build and push Docker images to docker.io and ghcr.io