chore: hardcode ghcr token

This commit is contained in:
C4illin 2025-08-03 20:37:07 +02:00 committed by Emrik Östling
parent 2295f23725
commit 068d9b8716

View file

@ -12,6 +12,7 @@ on:
env:
IMAGE_NAME: ${{ github.repository }}
DOCKERHUB_USERNAME: c4illin
GHCR_USERNAME: c4illin
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@ -72,8 +73,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ env.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push by digest
id: build
@ -141,8 +142,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ env.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v3