Skip to content
This repository has been archived by the owner on May 10, 2020. It is now read-only.

Commit

Permalink
Update and rename .github to .github/deploy.workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkamyshev authored Feb 15, 2019
1 parent 7bc43f6 commit e0e5852
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/deploy.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
workflow "Deploy" {
resolves = ["Build back conteiner", "Build front container"]
on = "release"
}

action "Login to Docker" {
uses = "actions/docker/login@8cdf801b322af5f369e00d85e9cf3a7122f49108"
secrets = ["DOCKER_USERNAME", "DOCKER_PASSWORD"]
}

action "Build back conteiner" {
uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108"
args = "build -t checkmoney-back -f Dockerfile-back ."
needs = ["Login to Docker"]
}

action "Build front container" {
uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108"
args = "build -t checkmoney-front -f Dockerfile-front ."
needs = ["Login to Docker"]
}

0 comments on commit e0e5852

Please sign in to comment.