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

Docker - Only publish "latest" #1159

Closed
sambokai opened this issue Sep 14, 2018 · 1 comment
Closed

Docker - Only publish "latest" #1159

sambokai opened this issue Sep 14, 2018 · 1 comment
Labels

Comments

@sambokai
Copy link

sambokai commented Sep 14, 2018

Hi guys,

is there a way to specify that we only want to publish the latest image.

We use dockerUpdateLatest = true and we do not change version numbers using sbt.

That means that our published images will always have the latest and 1.0 tags.
We only want to publish the latest one.

Is there a way to specify which images to publish by tag?

@muuki88 muuki88 added the docker label Sep 14, 2018
@muuki88
Copy link
Contributor

muuki88 commented Sep 14, 2018

Thanks for your question @sambokai

You can override the dockerAliases setting and only add what you need.
For more information see the DockerPlugin documentation

@muuki88 muuki88 closed this as completed Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants