fix: Correct Nomad variable syntax and update image repo name
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 5m25s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 5m25s
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
|
variable "container_version" {
|
||||||
|
default = "latest"
|
||||||
|
}
|
||||||
|
|
||||||
job "finance-app" {
|
job "finance-app" {
|
||||||
datacenters = ["dc1"]
|
datacenters = ["dc1"]
|
||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
variable "container_version" {
|
|
||||||
default = "latest"
|
|
||||||
}
|
|
||||||
|
|
||||||
group "finance-app" {
|
group "finance-app" {
|
||||||
count = 1
|
count = 1
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ job "finance-app" {
|
|||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "gitea.service.dc1.fbleagh.duckdns.org/sstent/DailyEmail-Finance:${var.container_version}"
|
image = "gitea.service.dc1.fbleagh.duckdns.org/sstent/dailyemail-finance:${var.container_version}"
|
||||||
}
|
}
|
||||||
|
|
||||||
env {
|
env {
|
||||||
|
|||||||
Reference in New Issue
Block a user