From bd648230b54be1c40a08c6f462b04bb20efa6c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 30 Mar 2025 09:50:05 +0200 Subject: [PATCH] Reapply "use GHCR_ACCESS_TOKEN." This reverts commit 7e2b6501bd318f3846a60e15fddb8dbf949aed27. --- .github/workflows/image_app.yml | 5 +---- .github/workflows/image_base.yml | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/image_app.yml b/.github/workflows/image_app.yml index 1238e73d..d32ea5b5 100644 --- a/.github/workflows/image_app.yml +++ b/.github/workflows/image_app.yml @@ -30,9 +30,6 @@ jobs: build-app: name: Build and Publish Application Image runs-on: ubuntu-latest - permissions: - packages: write - contents: read steps: - name: Checkout uses: actions/checkout@v4 @@ -61,7 +58,7 @@ jobs: with: registry: ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.GHCR_ACCESS_TOKEN }} - name: Build and push uses: docker/build-push-action@v6 diff --git a/.github/workflows/image_base.yml b/.github/workflows/image_base.yml index 2dfeeb4a..faa6e798 100644 --- a/.github/workflows/image_base.yml +++ b/.github/workflows/image_base.yml @@ -30,9 +30,6 @@ jobs: name: Build and Publish Base Image runs-on: ubuntu-latest needs: [ build-client ] - permissions: - packages: write - contents: read steps: - name: Checkout uses: actions/checkout@v4 @@ -67,7 +64,7 @@ jobs: with: registry: ghcr.io username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.GHCR_ACCESS_TOKEN }} - name: Generate base Dockerfile env: