feat: Update build.sbt and Dockerfile for improved GitHub credentials handling

This commit is contained in:
2026-01-07 11:47:31 +01:00
parent 5f9ef2beb0
commit 25dd9264b5
2 changed files with 2 additions and 6 deletions

View File

@@ -40,8 +40,8 @@ lazy val knockoutwhistweb = project.in(file("knockoutwhistweb"))
credentials += Credentials(
"GitHub Package Registry",
"maven.pkg.github.com",
sys.env("GITHUB_USER"),
sys.env("GITHUB_TOKEN")
sys.env.getOrElse("GITHUB_USER", sys.error("GITHUB_USER not set")),
sys.env.getOrElse("GITHUB_TOKEN", sys.error("GITHUB_TOKEN not set"))
),
commonSettings,