From 8e647f246f68fea0587fe698c8376daa1721cc2a Mon Sep 17 00:00:00 2001 From: Matthew Sevey Date: Fri, 12 Jan 2024 15:41:41 -0500 Subject: [PATCH] ci: add PAT so that tag generated from CI will trigger the docker images --- .github/workflows/ci_release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index 33fab5d..0390e6a 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -37,14 +37,12 @@ jobs: release: needs: [lint, test] runs-on: ubuntu-latest - if: | - github.event_name == 'workflow_dispatch' || - (github.event_name == 'push' && contains(github.ref, 'refs/tags/v')) + if: ${{ github.event_name == 'workflow_dispatch' }} permissions: "write-all" steps: - uses: actions/checkout@v4 - name: Version Release uses: rollkit/.github/.github/actions/version-release@v0.2.2 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{secrets.PAT_FOR_DOCKER_TRIGGER}} version-bump: ${{inputs.version}}