forked from hswaw/hscloud
personal/q3k/factorio: bump, add ds
Change-Id: I15dbbfdd911fb61fc5769443ef4f2e862cf6c7e1
This commit is contained in:
parent
0dcc702c64
commit
59786c5dfa
3 changed files with 21 additions and 3 deletions
|
@ -171,6 +171,13 @@ http_file(
|
|||
downloaded_file_path = "factorio.tar.xz",
|
||||
)
|
||||
|
||||
http_file(
|
||||
name = "factorio-headless-0.18.17",
|
||||
urls = ["https://factorio.com/get-download/0.18.17/headless/linux64"],
|
||||
sha256 = "42adce9fddde393023afb0aae19dd030a32ca0810191c0e7b9b7c55556e9bbce",
|
||||
downloaded_file_path = "factorio.tar.xz",
|
||||
)
|
||||
|
||||
# Go rules
|
||||
|
||||
http_archive(
|
||||
|
|
|
@ -46,11 +46,20 @@ container_image(
|
|||
entrypoint = ["/entrypoint.sh"],
|
||||
)
|
||||
|
||||
container_image(
|
||||
name="0.18.17-1",
|
||||
base="@prodimage-bionic//image",
|
||||
tars = ["@factorio-headless-0.18.17//file"],
|
||||
files = [":entrypoint.sh"],
|
||||
directory = "/",
|
||||
entrypoint = ["/entrypoint.sh"],
|
||||
)
|
||||
|
||||
container_push(
|
||||
name = "push_latest",
|
||||
image = ":0.18.12-2",
|
||||
image = ":0.18.17-1",
|
||||
format = "Docker",
|
||||
registry = "registry.k0.hswaw.net",
|
||||
repository = "app/factorio",
|
||||
tag = "0.18.12-2",
|
||||
tag = "0.18.17-1",
|
||||
)
|
||||
|
|
|
@ -8,6 +8,7 @@ local kube = import "../../../../kube/kube.libsonnet";
|
|||
// - 0.17.52-1
|
||||
// - 0.17.79-1
|
||||
// - 0.18.12-2
|
||||
// - 0.18.17-1
|
||||
|
||||
{
|
||||
local prod = self,
|
||||
|
@ -21,5 +22,6 @@ local kube = import "../../../../kube/kube.libsonnet";
|
|||
}
|
||||
},
|
||||
|
||||
q3k: prod.instance("q3k", "0.18.12-2"),
|
||||
q3k: prod.instance("q3k", "0.18.17-1"),
|
||||
ds: prod.instance("ds", "0.18.17-1"),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue