From adbee5aa132f77ff57fdae5af61ff3078ea82435 Mon Sep 17 00:00:00 2001 From: Maurice <61554723+mauriceboe@users.noreply.github.com> Date: Sun, 19 Jul 2026 20:52:43 +0200 Subject: [PATCH] ci: use trek-release app token for version-bump push, annotate release tag --- .github/workflows/docker.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 23615353c..50d8751e3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -27,11 +27,17 @@ jobs: outputs: version: ${{ steps.bump.outputs.VERSION }} steps: + - uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ secrets.RELEASE_APP_ID }} + private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }} + - uses: actions/checkout@v4 with: fetch-depth: 0 fetch-tags: true - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ steps.app-token.outputs.token }} - name: Determine bump type and update version id: bump @@ -103,7 +109,7 @@ jobs: git config user.email "github-actions[bot]@users.noreply.github.com" git add package.json package-lock.json server/package.json client/package.json shared/package.json charts/trek/Chart.yaml git commit -m "chore: bump version to $NEW_VERSION [skip ci]" - git tag "v$NEW_VERSION" + git tag -a "v$NEW_VERSION" -m "v$NEW_VERSION" git push origin main --follow-tags build: