test: fix test
This commit is contained in:
@@ -56,11 +56,11 @@ jobs:
|
|||||||
|
|
||||||
# Dockerfile-only refs
|
# Dockerfile-only refs
|
||||||
check "Dockerfile registry+tag (nginx:v1)" "example.com/library/nginx:v1"
|
check "Dockerfile registry+tag (nginx:v1)" "example.com/library/nginx:v1"
|
||||||
check "Dockerfile registry+digest (base@sha256:...)" "example.com/library/base@sha256:aaaaaaaa"
|
check "Dockerfile registry+digest (base@sha256:...)" "example.com/library/base@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||||
|
|
||||||
# K8s-only refs
|
# K8s-only refs
|
||||||
check "K8s registry+tag (app:v2)" "example.com/library/app:v2"
|
check "K8s registry+tag (app:v2)" "example.com/library/app:v2"
|
||||||
check "K8s registry+digest (helper@sha256:...)" "example.com/myproject/helper@sha256:bbbbbbbb"
|
check "K8s registry+digest (helper@sha256:...)" "example.com/myproject/helper@sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
||||||
|
|
||||||
# Compose-only refs
|
# Compose-only refs
|
||||||
check "Compose registry+tag (web:v3)" "example.com/compose/web:v3"
|
check "Compose registry+tag (web:v3)" "example.com/compose/web:v3"
|
||||||
@@ -69,7 +69,7 @@ jobs:
|
|||||||
# Helmfile values (repository + tag, optional registry)
|
# Helmfile values (repository + tag, optional registry)
|
||||||
check "Helmfile image (repository+tag)" "example.com/helmfile/app:v4"
|
check "Helmfile image (repository+tag)" "example.com/helmfile/app:v4"
|
||||||
check "Helmfile images.worker (repository+tag)" "example.com/helmfile/worker:v5"
|
check "Helmfile images.worker (repository+tag)" "example.com/helmfile/worker:v5"
|
||||||
check "Helmfile images.helper (repository+tag with digest)" "example.com/myproject/helper:2.0@sha256:cccc"
|
check "Helmfile images.helper (repository+tag with digest)" "example.com/myproject/helper:2.0@sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
|
||||||
|
|
||||||
# Shared ref (in both files) — must appear exactly once
|
# Shared ref (in both files) — must appear exactly once
|
||||||
check "Shared ref present (distroless/static:nonroot)" "example.com/distroless/static:nonroot"
|
check "Shared ref present (distroless/static:nonroot)" "example.com/distroless/static:nonroot"
|
||||||
|
|||||||
Reference in New Issue
Block a user