fix(docker): keep MinIO client versions consistent (#11291)

This commit is contained in:
Andras Bacsai authored and GitHub committed 2026-08-15 18:04:47 +02:00
commit 905dd42467
3 files changed
+22 -2

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
<?php
it('pins the same MinIO client release in every Coolify image', function () {
$dockerfiles = [
dirname(__DIR__, 2).'/docker/production/Dockerfile',
dirname(__DIR__, 2).'/docker/development/Dockerfile',
dirname(__DIR__, 2).'/docker/coolify-helper/Dockerfile',
];
$versions = collect($dockerfiles)->map(function (string $dockerfile): string {
$contents = file_get_contents($dockerfile);
expect(preg_match('/^ARG MINIO_VERSION=(.+)$/m', $contents, $matches))->toBe(1);
return $matches[1];
});
expect($versions->unique()->values()->all())
->toBe(['RELEASE.2025-08-13T08-35-41Z']);
});