Reapply "use GHCR_ACCESS_TOKEN."

This reverts commit 7e2b6501bd.
This commit is contained in:
Miroslav Šedivý 2025-03-30 09:50:05 +02:00
parent 73a70eb5e7
commit bd648230b5
2 changed files with 2 additions and 8 deletions

View file

@ -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

View file

@ -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: