Skip to content

Commit 1f4f557

Browse files
committed
feat(realms): docker hub-staging metadata
Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
1 parent 815520f commit 1f4f557

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

x/realms/docker.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,9 @@ var (
1919
DockerRegistryStagingAuthentication = secrets.MustParsePattern("docker/auth/registry/docker-staging/**")
2020
)
2121

22-
// DockerHubAuthenticationMetadata is a pointer to the default user signed in to Docker
23-
var DockerHubAuthenticationMetadata = secrets.MustParsePattern("docker/auth/metadata/hub/**")
22+
var (
23+
// DockerHubAuthenticationMetadata is a pointer to the default user signed in to Docker
24+
DockerHubAuthenticationMetadata = secrets.MustParsePattern("docker/auth/metadata/hub/**")
25+
// DockerHubStagingAuthenticationMetadata is a pointer to the default staging user signed in to Docker
26+
DockerHubStagingAuthenticationMetadata = secrets.MustParsePattern("docker/auth/metadata/hub-staging/**")
27+
)

0 commit comments

Comments
 (0)