Skip to content

Commit

Permalink
Temporary return to Docker usage
Browse files Browse the repository at this point in the history
  • Loading branch information
taiidani committed Aug 19, 2023
1 parent d31ef03 commit c9f6c03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/deploy/guess-my-word.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ job "guess-my-word" {

group "app" {
task "app" {
driver = "exec"
driver = "docker"

config {
command = "guess-my-word"
}

artifact {
source = "${artifact_url}"
image = "${image_name}"
args = ["/app"]
ports = ["web"]
}

env {
Expand Down
2 changes: 1 addition & 1 deletion .github/deploy/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resource "nomad_job" "app" {
jobspec = templatefile("${path.module}/guess-my-word.nomad", {
artifact_url = var.artifact_url
image_name = var.artifact_url
})
detach = false

Expand Down

0 comments on commit c9f6c03

Please sign in to comment.