fix(ci): add image tag fallback logic and code style fixes

- Add fallback to 'latest' tag when build fails
- Add fallback mechanism when pulling specific image tag fails
- Fix code style: move opening brace in ObjectInfo
- Remove unused comment in ObjectStorage
This commit is contained in:
2025-11-01 22:06:12 +01:00
parent 477522bc1e
commit fa28e3580a
3 changed files with 23 additions and 6 deletions

View File

@@ -3,7 +3,8 @@ declare(strict_types=1);
namespace App\Framework\Storage;
final readonly class ObjectInfo {
final readonly class ObjectInfo
{
public function __construct(
public string $bucket,
public string $key,

View File

@@ -10,7 +10,6 @@ interface ObjectStorage
public function head(string $bucket, string $key): ObjectInfo;
public function delete(string $bucket, string $key): void;
public function exists(string $bucket, string $key): bool;
// Links
public function url(string $bucket, string $key): ?string; // öffentlich, wenn möglich
public function temporaryUrl(string $bucket, string $key, \DateInterval $ttl, array $opts = []): string;