mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-24 00:27:47 +00:00
fix(services): default celld image tag to latest
Use ${CELLD_VERSION:-latest} in the celld compose template
and regenerate service templates; update unit tests.
This commit is contained in:
@@ -4,7 +4,7 @@ it('includes a celld one-click service template', function () {
|
||||
$compose = file_get_contents(__DIR__.'/../../templates/compose/celld.yaml');
|
||||
|
||||
expect($compose)
|
||||
->toContain('ghcr.io/denoland/celld:${CELLD_VERSION:-v0.1.0}')
|
||||
->toContain('ghcr.io/denoland/celld:${CELLD_VERSION:-latest}')
|
||||
->toContain('SERVICE_URL_CELLD_8080')
|
||||
->toContain('CELLD_BUCKET=${CELLD_BUCKET:?}')
|
||||
->toContain('S3_ENDPOINT=${S3_ENDPOINT:-}')
|
||||
@@ -27,7 +27,7 @@ it('includes a celld one-click service template', function () {
|
||||
$generatedCompose = base64_decode($templates['celld']['compose'], strict: true);
|
||||
|
||||
expect($generatedCompose)
|
||||
->toContain('ghcr.io/denoland/celld:${CELLD_VERSION:-v0.1.0}')
|
||||
->toContain('ghcr.io/denoland/celld:${CELLD_VERSION:-latest}')
|
||||
->toContain('CELLD_BUCKET=${CELLD_BUCKET:?}');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user