From e24752aafec0df74339df644b74bcd28641247a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 30 Mar 2025 00:04:58 +0100 Subject: [PATCH] use GHCR_ACCESS_TOKEN. --- .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 4328137d..f7f16b11 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 deedf3c5..a29bab9e 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: