Commit 1e937395 authored by Sergio Alonso's avatar Sergio Alonso

gitlab-ci: fix yaml

parent 3acbddd0
......@@ -39,12 +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" 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 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