mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-15 17:19:10 +00:00
ci: add build stamping
This commit is contained in:
parent
54a8739afd
commit
ff27f1080b
4 changed files with 20 additions and 15 deletions
|
@ -5,6 +5,11 @@ go_library(
|
|||
srcs = ["version.go"],
|
||||
importpath = "github.com/roleypoly/roleypoly/src/common/version",
|
||||
visibility = ["//visibility:public"],
|
||||
x_defs = {
|
||||
"GitCommit": "{STABLE_GIT_COMMIT}",
|
||||
"GitBranch": "{STABLE_GIT_BRANCH}",
|
||||
"BuildDate": "{BUILD_DATE}",
|
||||
},
|
||||
)
|
||||
|
||||
go_test(
|
||||
|
|
|
@ -36,16 +36,7 @@ container_push(
|
|||
name = "+publish",
|
||||
format = "Docker",
|
||||
image = ":image",
|
||||
registry = "docker.io",
|
||||
repository = "roleypoly/discord-bot",
|
||||
tag = "dev2",
|
||||
)
|
||||
|
||||
container_push(
|
||||
name = "+publish-2",
|
||||
format = "Docker",
|
||||
image = ":image",
|
||||
registry = "docker.io",
|
||||
repository = "roleypoly/discord-bot",
|
||||
tag = "dev",
|
||||
registry = "docker.pkg.github.com",
|
||||
repository = "roleypoly/roleypoly/discord-bot",
|
||||
tag = "{STABLE_GIT_BRANCH}",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue