Compare commits

..

No commits in common. "95b679cf0ee3b93bc7dfed21576749616eac8c1d" and "4a6ba85539555573a8899b70f8010f10b0bd850b" have entirely different histories.

2 changed files with 27 additions and 17 deletions

View File

@ -28,25 +28,35 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: ${{ env.FULL_TAG }}
provenance: false
- name: Notify on failure
uses: rjstone/discord-webhook-notify@v1
if: failure()
with:
severity: error
details: Build failed!
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
username: Gitea
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
"Notify":
runs-on: ubuntu-docker-latest
needs: ["Build Image"]
if: always()
needs: ["Build Image", "Test Image", "Push Image"]
steps:
- name: Notify of success
- 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 }}
severity: info
details: Build succeeded!
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
username: Gitea
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
- name: Failure
uses: rjstone/discord-webhook-notify@v1
if: failure()
with:
severity: error
details: Build failed!
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
username: Gitea
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
- name: Cancelled
uses: rjstone/discord-webhook-notify@v1
if: cancelled()
with:
severity: warn
details: Build cancelled!
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
username: Gitea
avatarUrl: ${{ vars.RUNNER_ICON_URL }}

View File

@ -7,7 +7,7 @@ WORKDIR /opt/src/act_runner
RUN make clean && make build
FROM docker:25.0.3-dind
FROM docker:dind
USER root
RUN apk add --no-cache \
git bash supervisor