Skip to content

Commit

Permalink
none start with the basic V
Browse files Browse the repository at this point in the history
  • Loading branch information
totopoloco committed May 1, 2024
1 parent 3887594 commit 6c45229
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ jib {
to {
image = 'totopo/hours'
tags = ["latest", "master-$commitHash"]
auth {
def usernameStr = System.getenv('secrets.DOCKER_HUB_USERNAME')
//Prints the username to the console
println("Username: $usernameStr")
username = usernameStr ?: ''
password = System.getenv('secrets.DOCKER_HUB_ACCESS_TOKEN') ?: ''
}
}

container {
Expand Down

0 comments on commit 6c45229

Please sign in to comment.