main-quest/actions.dbd.be.dockerbuild
Builds the base image for dbd back-end services
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Apr 2, 2023
- License
- Apache 2.0
Pinned Snippet
uses: main-quest/actions.dbd.be.dockerbuild@8201e83edbb0d4960e83c587fd129ab39913cb99 # v0.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| dbd_stage | Eg. stage22. If unset will be considered 'none' | no | — |
| gar_key_base64 | — | no | "" |
| gcs_key_base64 | Not used in this script, passed as DBD_GCS_KEY_BASE64 | no | "" |
| build_context | Docker build context, relative to the github working dir (root of the repo) | no | . |
| load | Whether make the image available to Docker (for ex., to reference it later through docker or for next build steps) | no | false |
| push | Whether to push the image or not | yes | true |
| registry | Ex. us-docker.pkg.dev | no | "" |
| repo_name | Container repo name. If unset, will be the same as $dbd_stage | no | — |
| gcp_project | — | no | dragon-blood-dungeon |
| image_name | GitHub repo's name by default | no | — |
| main_component | Name of the main component. Ex. 'database-proxy' | no | "" |
| main_component_artifact | Name of the main artifact file in the image, if it exists. Ex. ConsoleGameSrv.zip | no | "" |
| cache_storage | local or registry | no | "" |
| builder_commit | SHA 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 tags | yes | — |
| __use_buildx | — | yes | true |
Outputs
| name | description |
|---|---|
| project | The project id parsed from the key file. Might be removed as it's not needed anymore in the internal implementation |