sbt-dotenv
sbt-dotenv copied to clipboard
sbt-dotenv causes error on auth for docker push using sbt-native-packager
sbt-dotenv: 3.0.0 sbt: 1.8.2 java: 17
On our CI runner for publishing a Docker image on sbt using Docker/publish of sbt-native-packager to a custom Docker Repo (AWS ECR), if this plugin is enabled on sbt, the following error occurs during docker push:
no basic auth credentials
This does not happen if the sbt-dotenv plugin is disabled.
Can this plugin mess with the environment when running commands in sbt? Is this some weird interaction with sbt-native-packager?
Open to directions to investigate further, or any pointers. Thanks!
Do you have a minimal reproducer somewhere? Then someone can take a look.