Browse Source

BUILD-3596 Fix Docker Image release and slack messages

pull/158/head
Mate Molnar 8 months ago
parent
commit
40b487e028
No account linked to committer's email address
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      .github/workflows/release.yml

+ 3
- 2
.github/workflows/release.yml View File

@@ -17,7 +17,8 @@ jobs:
slackChannel: team-sonarqube-build
release_docker:
permissions:
id-token: write
id-token: write # Required by SonarSource/vault-action-wrapper
contents: write # Required by softprops/action-gh-release
runs-on: ubuntu-latest
name: Start Docker release process
needs: release
@@ -46,6 +47,6 @@ jobs:
if: failure()
with:
channel-id: team-sonarqube-build
slack-message: "Release failed, see the logs at https://github.com/{{ GITHUB_REPOSITORY }}/actions by {{ GITHUB_ACTOR }}"
slack-message: "Releasing Docker Image failed, see the logs at https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} by ${{ github.actor }}"
env:
SLACK_BOT_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).SLACK_BOT_TOKEN }}

Loading…
Cancel
Save