mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 14:14:52 +00:00
docs(release): document SHA image promotion workflow
This commit is contained in:
1 parent
7716e65eea
commit
24bc4b0462
2 files changed
+38
-11
No files matched your search
@@ -32,3 +32,15 @@ it('only promotes stable releases to latest', function () {
|
||||
->toContain('if: ${{ ! github.event.release.prerelease }}')
|
||||
->toContain('--tag "${IMAGE}:latest"');
|
||||
});
|
||||
|
||||
it('documents the sha image release process', function () {
|
||||
$releaseGuide = file_get_contents(dirname(__DIR__, 2).'/RELEASE.md');
|
||||
|
||||
expect($releaseGuide)
|
||||
->toContain('Merge the release commit into `v4.x`')
|
||||
->toContain('`sha-<commit-sha>`')
|
||||
->toContain('targeting the exact commit that produced the SHA image')
|
||||
->toContain('promotes the existing SHA image without rebuilding it')
|
||||
->toContain('Update the CDN')
|
||||
->not->toContain('Merging to `main`');
|
||||
});
|
||||
Reference in new issue
Block a user