diff --git a/template.nomad b/template.nomad index b10e278..5681caf 100644 --- a/template.nomad +++ b/template.nomad @@ -14,6 +14,10 @@ job "site" { task "nginx" { driver = "docker" + + env { + COMMIT_SHA = "${DRONE_COMMIT_SHA}" + } config { image = "nginx:latest"