Skip to content

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

@LightSystem

Description

@LightSystem

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions