Compare commits
2 Commits
4a6ba85539
...
95b679cf0e
Author | SHA1 | Date | |
---|---|---|---|
95b679cf0e | |||
7bdb331cc4 |
@ -28,21 +28,7 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ${{ env.FULL_TAG }}
|
tags: ${{ env.FULL_TAG }}
|
||||||
provenance: false
|
provenance: false
|
||||||
"Notify":
|
- name: Notify on failure
|
||||||
runs-on: ubuntu-docker-latest
|
|
||||||
if: always()
|
|
||||||
needs: ["Build Image", "Test Image", "Push Image"]
|
|
||||||
steps:
|
|
||||||
- name: Success
|
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
|
||||||
if: success()
|
|
||||||
with:
|
|
||||||
severity: info
|
|
||||||
details: Build succeeded!
|
|
||||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
|
||||||
username: Gitea
|
|
||||||
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
|
|
||||||
- name: Failure
|
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
uses: rjstone/discord-webhook-notify@v1
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
@ -51,12 +37,16 @@ jobs:
|
|||||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
username: Gitea
|
username: Gitea
|
||||||
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
|
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
|
||||||
- name: Cancelled
|
"Notify":
|
||||||
|
runs-on: ubuntu-docker-latest
|
||||||
|
needs: ["Build Image"]
|
||||||
|
steps:
|
||||||
|
- name: Notify of success
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
uses: rjstone/discord-webhook-notify@v1
|
||||||
if: cancelled()
|
if: success()
|
||||||
with:
|
with:
|
||||||
severity: warn
|
severity: info
|
||||||
details: Build cancelled!
|
details: Build succeeded!
|
||||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
username: Gitea
|
username: Gitea
|
||||||
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
|
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
|
@ -7,7 +7,7 @@ WORKDIR /opt/src/act_runner
|
|||||||
|
|
||||||
RUN make clean && make build
|
RUN make clean && make build
|
||||||
|
|
||||||
FROM docker:dind
|
FROM docker:25.0.3-dind
|
||||||
USER root
|
USER root
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
git bash supervisor
|
git bash supervisor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user