Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kimxogus committed Jul 13, 2018
1 parent d646cf0 commit d8e91cb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/sphinx/formats/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@ Publishing Settings
``dockerUpdateLatest``
The flag to automatic update the latest tag when the ``docker:publish`` task is run. Default value is ``FALSE``. In order to use this setting, the minimum docker console version required is 1.10. See https://github.com/sbt/sbt-native-packager/issues/871 for a detailed explanation.

``dockerAdditionalTags``
The tags for docker images in addition to project version and ``latest`` tag (if ``dockerUpdateLatest`` is enabled).

``dockerUntaggedImage``
The flag to make untagged image.

``dockerAlias``
The alias to be used for tagging the resulting image of the Docker build.
The type of the setting key is ``DockerAlias``.
Expand All @@ -146,7 +140,9 @@ Publishing Settings
``dockerAliases``
The list of aliases to be used for tagging the resulting image of the Docker build.
The type of the setting key is ``Seq[DockerAlias]``.
Alias values are in format of ``[dockerRepository/][dockerUsername/][packageName]:[tag]`` where tags are list of including project version, latest tag if ``dockerUpdateLatest`` is enabled, values of ``dockerAdditionalTags`` and empty tag if ``dockerUntaggedImage`` is enabled.
Alias values are in format of ``[dockerRepository/][dockerUsername/][packageName]:[tag]`` where tags are list of including your project version and ``latest`` tag(if ``dockerUpdateLatest`` is enabled).
To append additional aliases to this list, you can add them by extending ``dockerAlias``.
``dockerAliases ++= Seq(dockerAlias.value.withTag(Option("stable")), dockerAlias.value.withRegistryHost(Option("registry.internal.yourdomain.com")))``

``dockerBuildOptions``
Overrides the default Docker build options.
Expand Down

0 comments on commit d8e91cb

Please sign in to comment.