ci: move dev-container to only as-needed

This commit is contained in:
41666 2020-09-27 01:07:33 -04:00
parent 1803cd3c6c
commit 4780cf2253
3 changed files with 35 additions and 9 deletions

View file

@ -6,5 +6,5 @@ container_push(
image = "@dev-container//image:dockerfile_image.tar",
registry = "docker.pkg.github.com",
repository = "roleypoly/roleypoly/dev-container",
tag = "{STABLE_GIT_BRANCH}" if "{STABLE_GIT_BRANCH}" != "main" else "latest",
tag = "{STABLE_GIT_BRANCH}",
)