use GHCR_ACCESS_TOKEN.

This commit is contained in:
Miroslav Šedivý
2025-03-30 00:04:58 +01:00
parent b0df864636
commit e24752aafe
2 changed files with 2 additions and 8 deletions
+1 -4
View File
@@ -30,9 +30,6 @@ jobs:
build-app: build-app:
name: Build and Publish Application Image name: Build and Publish Application Image
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -61,7 +58,7 @@ jobs:
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GHCR_ACCESS_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
+1 -4
View File
@@ -30,9 +30,6 @@ jobs:
name: Build and Publish Base Image name: Build and Publish Base Image
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [ build-client ] needs: [ build-client ]
permissions:
packages: write
contents: read
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -67,7 +64,7 @@ jobs:
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GHCR_ACCESS_TOKEN }}
- name: Generate base Dockerfile - name: Generate base Dockerfile
env: env: