Revert "use GHCR_ACCESS_TOKEN."

This reverts commit e24752aafe.
This commit is contained in:
Miroslav Šedivý 2025-03-30 00:14:20 +01:00
parent 921ca792e6
commit 7e2b6501bd
2 changed files with 8 additions and 2 deletions

View file

@ -30,6 +30,9 @@ 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
@ -58,7 +61,7 @@ jobs:
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GHCR_ACCESS_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6

View file

@ -30,6 +30,9 @@ 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
@ -64,7 +67,7 @@ jobs:
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GHCR_ACCESS_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Generate base Dockerfile - name: Generate base Dockerfile
env: env: