Skip to content

Commit 7103dec

Browse files
authored
add tag as implied default only triggers on push tag event (#19)
1 parent aec753e commit 7103dec

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/epic_games.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ jobs:
4949
DISCORD_MESSAGE: "Workflow failed at: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
5050
run: |
5151
curl -H "Content-Type: application/json" \
52-
-d '{"username": "${{ github.repository }}/${{ github.workflow }}", "content": "${{ env.DISCORD_WEBHOOK }}"}' \
52+
-d '{"username": "${{ github.repository }}/${{ github.workflow }}", "content": "${{ env.DISCORD_MESSAGE }}"}' \
5353
"${{ secrets.DISCORD_ALERTS_WEBHOOK }}"
5454

.github/workflows/image_build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ jobs:
5959
DISCORD_MESSAGE: "Workflow failed at: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
6060
run: |
6161
curl -H "Content-Type: application/json" \
62-
-d '{"username": "${{ github.repository }}/${{ github.workflow }}", "content": "${{ env.DISCORD_WEBHOOK }}"}' \
62+
-d '{"username": "${{ github.repository }}/${{ github.workflow }}", "content": "${{ env.DISCORD_MESSAGE }}"}' \
6363
"${{ secrets.DISCORD_ALERTS_WEBHOOK }}"
6464

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
images: ${{ github.repository }}
5050
tags: |
51-
type=semver,pattern={{version}}
51+
type=semver,pattern={{version}},value=${{ steps.getver.outputs.version }}
5252
5353
- name: Build and push Docker image
5454
uses: docker/[email protected]
@@ -80,6 +80,6 @@ jobs:
8080
DISCORD_MESSAGE: "Workflow failed at: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
8181
run: |
8282
curl -H "Content-Type: application/json" \
83-
-d '{"username": "${{ github.repository }}/${{ github.workflow }}", "content": "${{ env.DISCORD_WEBHOOK }}"}' \
83+
-d '{"username": "${{ github.repository }}/${{ github.workflow }}", "content": "${{ env.DISCORD_MESSAGE }}"}' \
8484
"${{ secrets.DISCORD_ALERTS_WEBHOOK }}"
8585

0 commit comments

Comments
 (0)