Skip to content

High performance self-hosted photo and video management solution.

fix: don't use app token to push to ghcr (#23099)

bo0tzza390e444020f
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'