Update docker-publish.yml
This commit is contained in:
parent
bec81cfd8d
commit
46cbadf47c
1 changed files with 7 additions and 0 deletions
7
.github/workflows/docker-publish.yml
vendored
7
.github/workflows/docker-publish.yml
vendored
|
|
@ -41,3 +41,10 @@ jobs:
|
|||
tags: |
|
||||
boulderbadgedad/soulsync:latest
|
||||
boulderbadgedad/soulsync:${{ inputs.version_tag }}
|
||||
|
||||
- name: Announce release to Discord
|
||||
if: success() && secrets.DISCORD_ANNOUNCEMENTS_WEBHOOK
|
||||
run: |
|
||||
curl -s -H "Content-Type: application/json" \
|
||||
-d "{\"embeds\": [{\"title\": \"SoulSync v${{ inputs.version_tag }} Released\", \"description\": \"A new version of SoulSync is available! Pull the latest Docker image to update.\n\n\`\`\`\ndocker pull boulderbadgedad/soulsync:${{ inputs.version_tag }}\n\`\`\`\", \"color\": 5025616, \"footer\": {\"text\": \"SoulSync Auto-Release\"}, \"timestamp\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}]}" \
|
||||
"${{ secrets.DISCORD_ANNOUNCEMENTS_WEBHOOK }}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue