Created
December 30, 2014 07:11
-
-
Save phstudy/08eb45fb1bfc941eb138 to your computer and use it in GitHub Desktop.
gradle invoke external command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task dockerPushImage(type: Exec, dependsOn: dockerBuildImage) { | |
environment 'DOCKER_HOST', 'tcp://127.0.0.1:2375' | |
commandLine "${project.dockercmd}", "push", "${project.dockerhub}/dmp-web:${dockerTagVer}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment