From a390e444020fa85758eb02189cb0a830400d0343 Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Mon, 20 Oct 2025 15:57:52 +0200 Subject: [PATCH] fix: don't use app token to push to ghcr (#23099) Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .github/workflows/docker.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1e21d812ae..09a498607c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -59,18 +59,13 @@ jobs: matrix: suffix: ['', '-cuda', '-rocm', '-openvino', '-armnn', '-rknn'] steps: - - id: token - uses: immich-app/devtools/actions/create-workflow-token@da177fa133657503ddb7503f8ba53dccefec5da1 # create-workflow-token-action-v1.0.0 - with: - app-id: ${{ secrets.PUSH_O_MATIC_APP_ID }} - private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }} - - name: Login to GitHub Container Registry uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ steps.token.outputs.token }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Re-tag image env: REGISTRY_NAME: 'ghcr.io' @@ -94,18 +89,13 @@ jobs: matrix: suffix: [''] steps: - - id: token - uses: immich-app/devtools/actions/create-workflow-token@da177fa133657503ddb7503f8ba53dccefec5da1 # create-workflow-token-action-v1.0.0 - with: - app-id: ${{ secrets.PUSH_O_MATIC_APP_ID }} - private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }} - - name: Login to GitHub Container Registry uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ steps.token.outputs.token }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Re-tag image env: REGISTRY_NAME: 'ghcr.io'