Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

ci: on-release not triggered (#5058)

Meier Lukasc75c38e391a3
diff --git a/.github/workflows/deployment-docker-image.yml b/.github/workflows/deployment-docker-image.yml
index 5fc45f07d..282530054 100644
--- a/.github/workflows/deployment-docker-image.yml
+++ b/.github/workflows/deployment-docker-image.yml
@@ -228,6 +228,15 @@ jobs:
DEPLOY_LATEST: ${{ github.ref_name == 'main' }}
DEPLOY_BETA: ${{ github.ref_name == 'beta' }}
steps:
+ - name: Obtain token
+ if: needs.release.outputs.skipped == 'false'
+ id: obtainToken
+ uses: actions/create-github-app-token@v2
+ with:
+ private-key: ${{ secrets.RENOVATE_MERGE_PRIVATE_KEY }}
+ app-id: ${{ secrets.RENOVATE_MERGE_APP_ID }}
+ permission-contents: write # required to publish the release
+
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
@@ -258,7 +267,7 @@ jobs:
- name: Publish release
if: needs.release.outputs.skipped == 'false'
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ steps.obtainToken.outputs.token }}
run: |
gh release edit --repo ${{ github.repository }} ${{ needs.release.outputs.version }} --draft=false