ci: notify Discord after image builds

This commit is contained in:
Andras Bacsai
2026-09-16 11:26:35 +02:00
parent d3a6cb2343
commit e1bcf1fb86
3 changed files with 14 additions and 0 deletions
+5
View File
@@ -150,3 +150,8 @@ jobs:
--tag "${IMAGE}:sha-${SHA}" \
--tag "${IMAGE}:${VERSION}" \
--tag "${IMAGE}:next"
- uses: sarisia/actions-status-discord@v1
if: always()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }}
+5
View File
@@ -107,3 +107,8 @@ jobs:
"${IMAGE}:sha-${SHA}-amd64" \
"${IMAGE}:sha-${SHA}-aarch64" \
--tag "${IMAGE}:sha-${SHA}"
- uses: sarisia/actions-status-discord@v1
if: always()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }}
@@ -18,6 +18,8 @@ it('publishes v4 branch builds under the commit sha with a traceable internal ve
->toContain('php bootstrap/getVersion.php')
->toContain('version=${BASE_VERSION}-dev.${GITHUB_SHA::9}')
->toContain('COOLIFY_VERSION=${{ steps.version.outputs.version }}')
->toContain('sarisia/actions-status-discord@v1')
->toContain('webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }}')
->not->toContain('IMAGE_NAME }}:latest')
->and($dockerfile)
->toContain('ARG COOLIFY_VERSION')
@@ -124,6 +126,8 @@ it('publishes traceable rolling builds from next without creating an exact rc ta
->toContain('--tag "${IMAGE}:sha-${SHA}"')
->toContain('--tag "${IMAGE}:${VERSION}"')
->toContain('--tag "${IMAGE}:next"')
->toContain('sarisia/actions-status-discord@v1')
->toContain('webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }}')
->not->toContain('--tag "${IMAGE}:${RC_VERSION}"')
->not->toContain('--tag "${IMAGE}:latest"');
});