mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-26 09:20:54 -04:00
ci: notify Discord after image builds
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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"');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user