com.mediative.sbt.devops.MediativeDeployPlugin
Promote a Docker image from one environment to another.
Promote a Docker image from one environment to another.
To promote from QA (using the qa-latest
Docker tag) to production:
.settings( publish in (DeployEnvironment.Production, deploy) := promoteDockerImage(DeployEnvironment.QA) )
The Docker tag of the promoted image is read from the BUILD_NUMBER
environment variable if it exists. Else the project version is used.
Build and publish a Docker image.
Build and publish a Docker image.
To deploy a newly build Docker image to QA:
.settings( publish in (DeployEnvironment.QA, deploy) := publishDockerImage.value )