Skip to content

Commit

Permalink
db image flag will come from property instead of ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
rwadstein committed Jul 29, 2022
1 parent f854803 commit 25fb6c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export TARGET_TAG="${BUILDKITE_PLUGIN_SBC_SHARED_TARGET_TAG:-}"

set -u
export DOCKER_TAG="${BUILDKITE_PLUGIN_SBC_SHARED_TAG:-application}"
export HAS_DB_IMAGE="${BUILDKITE_PLUGIN_SBC_SHARED_HAS_DB_IMAGE:-false}"
export HAS_DB_IMAGE="${BUILDKITE_PLUGIN_SBC_SHARED_DB_IMAGE:-false}"

# copy scripts to be used by pipeline in order to be invoked within a docker container.
ACTION="$BUILDKITE_PLUGIN_SBC_SHARED_ACTION"
Expand Down
2 changes: 2 additions & 0 deletions plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ configuration:
type: string
gem_host:
type: string
db_image:
type: boolean
required:
- action
additionalProperties: false

0 comments on commit 25fb6c4

Please sign in to comment.