Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sbt-dotenv causes error on auth for docker push using sbt-native-packager #166

Open
LightSystem opened this issue Apr 12, 2023 · 0 comments

Comments

@LightSystem
Copy link

LightSystem commented Apr 12, 2023

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!

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

No branches or pull requests

1 participant