Created
August 12, 2019 05:37
-
-
Save marcosnils/f94338c0cf79861d84682be1720059ca to your computer and use it in GitHub Desktop.
Markdium-Take 2, Actions!
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
action "build api-upload" { | |
uses = "actions/docker/cli@master" | |
args = [ | |
"build", | |
"-t", | |
"api-upload", | |
"./services/api-upload", | |
] | |
} | |
action "build api-domains" { | |
uses = "actions/docker/cli@master" | |
args = [ | |
"build", | |
"--build-arg", | |
"-t", | |
"api-domains", | |
"./services/api-domains", | |
] | |
} | |
action "tag filter" { | |
needs = [ | |
"docker build api-domains", | |
"docker build api-upload", | |
] | |
uses = "actions/bin/filter@master" | |
args = "tag and not deleted" | |
} | |
action "deploy api-domains" { | |
needs = ["docker push api-domains"] | |
uses = "docker://zeit/deploy" | |
} | |
action "deploy api-upload" { | |
needs = ["docker push api-upload"] | |
uses = "docker://zeit/deploy" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment