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

Push Docker image via CLI #25

Open
jaulz opened this issue Sep 11, 2018 · 2 comments
Open

Push Docker image via CLI #25

jaulz opened this issue Sep 11, 2018 · 2 comments

Comments

@jaulz
Copy link

jaulz commented Sep 11, 2018

It would be great if we could push the Docker image via CLI. Hence we could use tokens instead of using username/password. Is anything like this on the roadmap?

@dexhorthy
Copy link
Member

dexhorthy commented Mar 25, 2019

Hi @jaulz -- apologies for the delay here. This is a great request and I believe its somewhere on the roadmap. Just to be clear, you're looking for something like

export REPLICATED_APP=xxx
export REPLICATED_API_TOKEN=xxx
replicated docker -- push registry.replicated.com/myapp/myimage:1.1.0

where the app/token would be used to authenticate? Or would it be sufficient to just have something like a placeholder username for usage with the docker CLI?

echo $REPLICATED_API_TOKEN | docker login --username=placeholder --password-stdin
docker push registry.replicated.com/myapp/myimage:1.1.0

@jaulz
Copy link
Author

jaulz commented Apr 12, 2019

@dexhorthy actually the first one would be the desired behaviour so we don't need to maintain username/password in our pipeline but instead can use a simple token that can only be used for deployment.

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

2 participants