mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 12:23:48 +00:00
ci(build): use short SHA tags for image manifests
Expose the short SHA between workflow jobs and verify image tag propagation.
This commit is contained in:
@@ -9,8 +9,10 @@ it('publishes v4 branch builds under the commit sha with a traceable internal ve
|
||||
->toContain('name: Build Coolify (SHA)')
|
||||
->toContain('branches: ["main"]')
|
||||
->not->toContain('v4.x')
|
||||
->toContain('sha-${{ github.sha }}-${{ matrix.arch }}')
|
||||
->toContain('sha-${{ github.sha }}')
|
||||
->toContain('short_sha=${GITHUB_SHA::7}')
|
||||
->toContain('sha-${{ steps.version.outputs.short_sha }}-${{ matrix.arch }}')
|
||||
->toContain('SHA: ${{ needs.build-push.outputs.short_sha }}')
|
||||
->not->toContain('sha-${{ github.sha }}')
|
||||
->toContain('php bootstrap/getVersion.php')
|
||||
->toContain('version=${BASE_VERSION}-dev.${GITHUB_SHA::9}')
|
||||
->toContain('COOLIFY_VERSION=${{ steps.version.outputs.version }}')
|
||||
|
||||
Reference in New Issue
Block a user