From 4e37f44d18f3feead94e184c509b7fa8ff33bb97 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Sun, 9 Jun 2024 10:59:02 +0200 Subject: [PATCH] refactor: don't use photos- prefix for ente images anymore --- .forgejo/workflows/ente.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ente.yaml b/.forgejo/workflows/ente.yaml index 6d97687..5ffcb8a 100644 --- a/.forgejo/workflows/ente.yaml +++ b/.forgejo/workflows/ente.yaml @@ -33,7 +33,7 @@ jobs: - name: Fetch latest ente photos tag run: | - echo "ENTE_PHOTOS_VERSION=$(gh release list -R ente-io/ente --exclude-pre-releases --exclude-drafts --jq '.[] | select(.tagName | startswith("photos")) | .tagName' --json 'tagName' --limit 10 | head -n 1)" >> "$GITHUB_ENV" + echo "ENTE_PHOTOS_VERSION=$(gh release list -R ente-io/ente --exclude-pre-releases --exclude-drafts --jq '.[] | select(.tagName | startswith("photos")) | .tagName | sub("photos-";"")' --json 'tagName' --limit 10 | head -n 1)" >> "$GITHUB_ENV" env: GH_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }} @@ -44,5 +44,5 @@ jobs: push: true tags: code.icb4dc0.de/infrastructure/images/ente/${{ matrix.app }}:${{ env.ENTE_PHOTOS_VERSION }} build-args: | - ENTE_BRANCH=${{ env.ENTE_PHOTOS_VERSION }} + ENTE_BRANCH=photos-${{ env.ENTE_PHOTOS_VERSION }} ENTE_APP=${{ matrix.app }} \ No newline at end of file