Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 020349e

Browse files
committed
fix docker build
1 parent e4f54ee commit 020349e

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

.github/workflows/docker.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,28 @@ jobs:
4040
context: .
4141
push: true
4242
tags: |
43-
ghcr.io/CheckerNetwork/node
44-
ghcr.io/CheckerNetwork/node:${{ steps.package-version.outputs.current-version }}
43+
ghcr.io/checkernetwork/node
44+
ghcr.io/checkernetwork/node:${{ steps.package-version.outputs.current-version }}
4545
platforms: linux/amd64,linux/arm64
46-
cache-from: type=registry,ref=ghcr.io/CheckerNetwork/node
46+
cache-from: type=registry,ref=ghcr.io/checkernetwork/node
4747
cache-to: type=inline
48+
49+
- if: failure()
50+
uses: slackapi/[email protected]
51+
with:
52+
method: chat.postMessage
53+
token: ${{ secrets.SLACK_BOT_TOKEN }}
54+
payload: |
55+
{
56+
"channel": "alerts",
57+
"text": "Building `${{ github.event.repository.name }}` docker image failed",
58+
"blocks": [
59+
{
60+
"type": "section",
61+
"text": {
62+
"type": "mrkdwn",
63+
"text": ":warning: *<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Building `${{ github.event.repository.name }}` docker image failed>*"
64+
}
65+
}
66+
]
67+
}

0 commit comments

Comments
 (0)