Skip to content

Commit dcb3179

Browse files
committed
CI-Integration
1 parent b45d597 commit dcb3179

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ build_and_deploy_steps: &build_and_deploy_steps
3434
- run:
3535
name: Build Docker Image
3636
command: |
37-
./build.sh
37+
./build.sh <<pipeline.parameters.reset-db>>
3838
- deploy:
3939
name: Deploy Using MasterScript
4040
command: |

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash
22
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 .
3+
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

Comments
 (0)