From 6c6d43fbed7eb644a34b9b10a9b7ca8fde8b6fcb Mon Sep 17 00:00:00 2001 From: Mateusz Qunabu Date: Wed, 24 Apr 2024 14:33:53 +0200 Subject: [PATCH] Update docker_build.yml Closes WELLMS-459 --- .github/workflows/docker_build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 3e486cd49..e8b466249 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -28,12 +28,16 @@ jobs: tags: escolalms/demo:${{github.ref_name}}, escolalms/demo:latest build-args: APP_VERSION=${{github.ref_name}} - - name: Create the Mattermost Message - run: | - echo "{\"text\":\"There is a new [escolalms/demo:latest](https://hub.docker.com/r/escolalms/demo/tags?page=1&name=latest) and version `${{github.ref_name}}` image built. k8s rollout will happen soon\"}" > mattermost.json + # - name: Create the Mattermost Message + # run: | + # echo "{\"text\":\"There is a new [escolalms/demo:latest](https://hub.docker.com/r/escolalms/demo/tags?page=1&name=latest) and version `${{github.ref_name}}` image built. k8s rollout will happen soon\"}" > mattermost.json - uses: mattermost/action-mattermost-notify@master - env: + with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} + PAYLOAD: |- + { + "text": "There is a new [escolalms/demo:latest](https://hub.docker.com/r/escolalms/demo/tags?page=1&name=latest) and version `${{github.ref_name}}` image built. k8s rollout will happen soon" + } - name: Send webook to hooks to rollout all devs on k8s uses: distributhor/workflow-webhook@v3