Skip to content

Commit

Permalink
Add optionalCredentials in functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Feb 26, 2024
1 parent bbc96c5 commit cb4e76e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ internal class PublishMetadataTest {
oci {
registries {
dockerHub {
credentials.set(providers.credentials(PasswordCredentials::class, "dockerHub"))
optionalCredentials()
}
}
imageDefinitions.register("main") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ internal class TestProject(projectDir: File) {
oci {
registries {
dockerHub {
credentials.set(providers.credentials(PasswordCredentials::class, "dockerHub"))
optionalCredentials()
}
}
imageDefinitions.register("main") {
Expand Down

0 comments on commit cb4e76e

Please sign in to comment.