From 252f58ba91d2ef7474765eaef634c7da4f3d879b Mon Sep 17 00:00:00 2001 From: jeremy cotineau Date: Thu, 27 Jul 2023 16:52:35 +0200 Subject: [PATCH] NO-JIRA fix release workflow --- .github/workflows/release.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c1f1ec0..c162742b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,23 +1,13 @@ name: Release # This workflow is triggered when publishing a GitHub release on: - release: - types: - - published + push: jobs: - release: - permissions: - id-token: write - contents: write - uses: SonarSource/gh-action_release/.github/workflows/main.yaml@28c15313f2bb2ee0cb67ba48cc008c2391851b81 # 5.0.1 - with: - publishToBinaries: true - mavenCentralSync: true - slackChannel: team-sonarqube-build release_docker: permissions: id-token: write + contents: write runs-on: ubuntu-latest name: Start Docker release process needs: release @@ -37,8 +27,8 @@ jobs: GITHUB_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).GITHUB_TOKEN_RELEASE }} GITHUB_REPOSITORY: SonarSource/sonar-scanner-cli-docker with: - tag_name: ${{ github.event.release.tag_name }} - body: Release containing ScannerCLI version ${{ github.event.release.tag_name }} + tag_name: 5.0.0.2966 + body: Release containing ScannerCLI version 5.0.0.2966 draft: false prerelease: false - name: Notify failures on Slack