We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b45d597 commit dcb3179Copy full SHA for dcb3179
.circleci/config.yml
@@ -34,7 +34,7 @@ build_and_deploy_steps: &build_and_deploy_steps
34
- run:
35
name: Build Docker Image
36
command: |
37
- ./build.sh
+ ./build.sh <<pipeline.parameters.reset-db>>
38
- deploy:
39
name: Deploy Using MasterScript
40
build.sh
@@ -1,3 +1,4 @@
1
#!/bin/bash
2
set -eo pipefail
3
-docker buildx build --no-cache=true --build-arg RESET_DB_ARG=<<pipeline.parameters.reset-db>> --build-arg SEED_DATA_ARG=${DEPLOYMENT_ENVIRONMENT} -t ${APPNAME}}:latest .
+RESET_DB_VALUE=$1
4
+docker buildx build --no-cache=true --build-arg RESET_DB_ARG=${RESET_DB_VALUE} --build-arg SEED_DATA_ARG=${DEPLOYMENT_ENVIRONMENT} -t ${APPNAME}}:latest .
0 commit comments