mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-27 17:55:59 -04:00
ci: notify Discord after image builds
This commit is contained in:
@@ -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