Commit 80e7a1df authored by Sergio Alonso's avatar Sergio Alonso

gitlab-ci: fix build-arg

parent 1e937395
......@@ -39,7 +39,7 @@ job_build:
script:
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" "$CI_REGISTRY"
- docker info
- docker build --build-arg SECRET_KEY="$SECRET_KEY" ADMIN_PASSWORD="$ADMIN_PASSWORD" DROPBOX_SECRET="$DROPBOX_SECRET" DROPBOX_CLIENT_ID="DROPBOX_CLIENT_ID" DROPBOX_KEY="$DROPBOX_KEY" --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_SHA" .
- docker build --build-arg SECRET_KEY="$SECRET_KEY" --build-arg ADMIN_PASSWORD="$ADMIN_PASSWORD" --build-arg DROPBOX_SECRET="$DROPBOX_SECRET" --build-arg DROPBOX_CLIENT_ID="DROPBOX_CLIENT_ID" --build-arg DROPBOX_KEY="$DROPBOX_KEY" --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_SHA" .
- docker tag "$CI_REGISTRY_IMAGE:$CI_BUILD_SHA" "$CI_REGISTRY_IMAGE:staging"
- docker push "$CI_REGISTRY_IMAGE:staging"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment