Add HCAPTCHA_SITE_KEY as a build argument in CI
Updated `.gitlab-ci.yml` to include HCAPTCHA_SITE_KEY as a build argument for frontend builds. Adjusted `.gitlab-ci-template.yml` to ensure BUILD_ARGS processes new and existing arguments correctly. This enhances customization and environment-specific builds.
This commit is contained in:
@@ -19,5 +19,6 @@ docker_frontend:
|
||||
IMAGE_NAME: frontend
|
||||
WORKDIR_PATH: frontend
|
||||
DOCKERFILE_PATH: Dockerfile
|
||||
BUILD_ARGS: "--build-arg HCAPTCHA_SITE_KEY=$HCAPTCHA_SITE_KEY"
|
||||
needs:
|
||||
- build_frontend
|
||||
|
||||
Reference in New Issue
Block a user