Skip to content

Fix Docker build credentials for sbt-ossuminc#725

Merged
reid-spencer merged 1 commit into
mainfrom
development
Feb 15, 2026
Merged

Fix Docker build credentials for sbt-ossuminc#725
reid-spencer merged 1 commit into
mainfrom
development

Conversation

@reid-spencer
Copy link
Copy Markdown
Contributor

Summary

  • Adds GitHub Packages authentication to Docker build so sbt-ossuminc:1.3.0 can be resolved
  • Passes GITHUB_TOKEN as build-arg from the workflow into the Dockerfile
  • Configures ~/.sbt/1.0/github.sbt with credentials inside the Docker build

Context

The Docker publish workflow has been failing because sbt --batch update couldn't resolve sbt-ossuminc from maven.pkg.github.com without credentials.

Test plan

  • Re-trigger docker-publish workflow after merge to verify image builds successfully

🤖 Generated with Claude Code

The Docker build failed because sbt couldn't resolve sbt-ossuminc
from GitHub Packages without authentication. Added ARG GITHUB_TOKEN
to Dockerfile, configured ~/.sbt/1.0/github.sbt credentials, and
passed the token via build-args in docker-publish.yml.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@reid-spencer reid-spencer merged commit 4365cad into main Feb 15, 2026
5 of 12 checks passed
@reid-spencer reid-spencer deleted the development branch February 15, 2026 02:09
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@reid-spencer reid-spencer restored the development branch February 15, 2026 02:12
scala-steward pushed a commit to scala-steward/riddl-1 that referenced this pull request Feb 20, 2026
Fix Docker build credentials for sbt-ossuminc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants