Skip to content

Commit

Permalink
Update docker_build.yml
Browse files Browse the repository at this point in the history
Closes WELLMS-459
  • Loading branch information
qunabu authored Apr 24, 2024
1 parent e553d8f commit 6c6d43f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c6d43f

Please sign in to comment.