main-quest/actions.dbd.be.dockerbuild

Builds the base image for dbd back-end services

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Apr 2, 2023
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: main-quest/actions.dbd.be.dockerbuild@8201e83edbb0d4960e83c587fd129ab39913cb99 # v0.0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
dbd_stageEg. stage22. If unset will be considered 'none'no
gar_key_base64no""
gcs_key_base64Not used in this script, passed as DBD_GCS_KEY_BASE64no""
build_contextDocker build context, relative to the github working dir (root of the repo)no.
loadWhether make the image available to Docker (for ex., to reference it later through docker or for next build steps)nofalse
pushWhether to push the image or notyestrue
registryEx. us-docker.pkg.devno""
repo_nameContainer repo name. If unset, will be the same as $dbd_stageno
gcp_projectnodragon-blood-dungeon
image_nameGitHub repo's name by defaultno
main_componentName of the main component. Ex. 'database-proxy'no""
main_component_artifactName of the main artifact file in the image, if it exists. Ex. ConsoleGameSrv.zipno""
cache_storagelocal or registryno""
builder_commitSHA of the builder commit, taken via github.sha. DBD_BUILDER_COMMIT arg will be passed with value <builder_commit> to the builder, as well as DBD_BUILDER_COMMIT_IMAGE_TAG with value 'buildersha-<builder_commit>', which will be one of the image's tagsyes
__use_buildxyestrue
namedescription
projectThe project id parsed from the key file. Might be removed as it's not needed anymore in the internal implementation