1
0
Fork 0

personal/q3k/factorio: bump

Change-Id: I2a93d24f85d7517a1e2b6247668c5ae63f4e2732
master
q3k 2020-03-25 10:48:52 +01:00
parent 5b1aa134fe
commit 540663904b
3 changed files with 20 additions and 3 deletions

View File

@ -164,6 +164,13 @@ http_file(
downloaded_file_path = "factorio.tar.xz",
)
http_file(
name = "factorio-headless-0.18.12",
urls = ["https://factorio.com/get-download/0.18.12/headless/linux64"],
sha256 = "e0c6a46d66cfc02cba294a5fd34265e7e7a5168b8c8a7b16ad8dbac31470ed33",
downloaded_file_path = "factorio.tar.xz",
)
# Go rules
http_archive(

View File

@ -37,11 +37,20 @@ container_image(
entrypoint = ["/entrypoint.sh"],
)
container_image(
name="0.18.12-2",
base="@prodimage-bionic//image",
tars = ["@factorio-headless-0.18.12//file"],
files = [":entrypoint.sh"],
directory = "/",
entrypoint = ["/entrypoint.sh"],
)
container_push(
name = "push_latest",
image = ":0.17.79-1",
image = ":0.18.12-2",
format = "Docker",
registry = "registry.k0.hswaw.net",
repository = "app/factorio",
tag = "0.17.79-1",
tag = "0.18.12-2",
)

View File

@ -7,6 +7,7 @@ local kube = import "../../../../kube/kube.libsonnet";
// - 0.17.41-1
// - 0.17.52-1
// - 0.17.79-1
// - 0.18.12-2
{
local prod = self,
@ -20,5 +21,5 @@ local kube = import "../../../../kube/kube.libsonnet";
}
},
q3k: prod.instance("q3k", "0.17.79-1"),
q3k: prod.instance("q3k", "0.18.12-2"),
}