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:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user