An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
ci: notify Discord after image builds
Andras Bacsaie1bcf1fb86ef
diff --git a/.github/workflows/coolify-next-build.yml b/.github/workflows/coolify-next-build.ymlindex 9985edb411..965a98b6bc 100644--- a/.github/workflows/coolify-next-build.yml+++ b/.github/workflows/coolify-next-build.yml@@ -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 }}diff --git a/.github/workflows/coolify-sha-build.yml b/.github/workflows/coolify-sha-build.ymlindex 8a1967f743..595fbbd93d 100644--- a/.github/workflows/coolify-sha-build.yml+++ b/.github/workflows/coolify-sha-build.yml@@ -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 }}diff --git a/tests/Unit/ProductionImageWorkflowTest.php b/tests/Unit/ProductionImageWorkflowTest.phpindex 588b405310..c224ff0744 100644--- a/tests/Unit/ProductionImageWorkflowTest.php+++ b/tests/Unit/ProductionImageWorkflowTest.php@@ -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"');});