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,20 +28,12 @@ jobs:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
tags: ${{ env.FULL_TAG }} tags: ${{ env.FULL_TAG }}
provenance: false 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": "Notify":
runs-on: ubuntu-docker-latest runs-on: ubuntu-docker-latest
needs: ["Build Image"] if: always()
needs: ["Build Image", "Test Image", "Push Image"]
steps: steps:
- name: Notify of success - name: Success
uses: rjstone/discord-webhook-notify@v1 uses: rjstone/discord-webhook-notify@v1
if: success() if: success()
with: with:
@ -50,3 +42,21 @@ jobs:
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }} webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
username: Gitea username: Gitea
avatarUrl: ${{ vars.RUNNER_ICON_URL }} 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 RUN make clean && make build
FROM docker:25.0.3-dind FROM docker:dind
USER root USER root
RUN apk add --no-cache \ RUN apk add --no-cache \
git bash supervisor git bash supervisor