From 9be349c03523c08a5f2fe38c1df4c377e8bef582 Mon Sep 17 00:00:00 2001 From: Meyanis95 Date: Mon, 16 Sep 2024 15:40:12 +0200 Subject: [PATCH] feat: updated script with env --- .github/scripts/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh index d6031e9..61babbf 100755 --- a/.github/scripts/build.sh +++ b/.github/scripts/build.sh @@ -2,10 +2,11 @@ set -ex ISSUER_URL="https://issuer.anon-aadhaar.pse.dev" +NULLIFIER_SEED="742762287071232" aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin 490752553772.dkr.ecr.eu-central-1.amazonaws.com -docker build --build-arg "NEXT_PUBLIC_ISSUER_URL=$ISSUER_URL" -t anon-aadhaar-client -f client/Dockerfile client +docker build --build-arg "NEXT_PUBLIC_ISSUER_URL=$ISSUER_URL" --build-arg "NEXT_PUBLIC_NULLIFIER_SEED=$NULLIFIER_SEED" -t anon-aadhaar-client -f client/Dockerfile client docker tag anon-aadhaar-client:latest 490752553772.dkr.ecr.eu-central-1.amazonaws.com/anon-aadhaar-client:latest docker push 490752553772.dkr.ecr.eu-central-1.amazonaws.com/anon-aadhaar-client:latest