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:
Andras Bacsai
2026-08-15 23:50:14 +02:00
parent c6a12d7078
commit 7bcdc23086
2 changed files with 11 additions and 6 deletions
+4 -2
View File
@@ -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 }}')