mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-16 03:15:22 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -427,9 +427,9 @@ describe("Docker Image Name and Tag Extraction", () => {
|
|||||||
|
|
||||||
it("should extract tag from registry with port and tag", () => {
|
it("should extract tag from registry with port and tag", () => {
|
||||||
expect(extractImageTag("registry:5000/image:tag")).toBe("tag");
|
expect(extractImageTag("registry:5000/image:tag")).toBe("tag");
|
||||||
expect(
|
expect(extractImageTag("registry.example.com:5000/myimage:v2.0")).toBe(
|
||||||
extractImageTag("registry.example.com:5000/myimage:v2.0"),
|
"v2.0",
|
||||||
).toBe("v2.0");
|
);
|
||||||
expect(extractImageTag("localhost:5000/app:sha-abc123")).toBe(
|
expect(extractImageTag("localhost:5000/app:sha-abc123")).toBe(
|
||||||
"sha-abc123",
|
"sha-abc123",
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user