Use versionned image

This commit is contained in:
Daniel Berteaud 2024-02-26 20:00:49 +01:00
parent 09bb954521
commit 0ce1f601fb
2 changed files with 5 additions and 4 deletions

View File

@ -2,6 +2,7 @@ job "bounca" {
datacenters = ["dc1"]
region = "global"
group "bounca" {
@ -103,7 +104,7 @@ job "bounca" {
user = 8749
config {
image = "danielberteaud/bounca:latest"
image = "danielberteaud/bounca:0.4.5-1"
pids_limit = 50
readonly_rootfs = true
mount {
@ -219,7 +220,7 @@ _EOT
}
config {
image = "danielberteaud/bounca:latest"
image = "danielberteaud/bounca:0.4.5-1"
pids_limit = 50
readonly_rootfs = true
mount {
@ -288,7 +289,7 @@ _EOT
}
config {
image = "danielberteaud/bounca:latest"
image = "danielberteaud/bounca:0.4.5-1"
pids_limit = 30
readonly_rootfs = true
mount {

View File

@ -9,7 +9,7 @@ bounca:
version: 0.4.5
# The image to use
image: danielberteaud/bounca:latest
image: '[[ .docker.repo ]]bounca:[[ .bounca.version ]]-1'
vault:
# Vault policies to use