Commit ad2788b6 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Rename $CI_BUILD_TOKEN to $CI_JOB_TOKEN

parent 41f3423e
......@@ -17,7 +17,7 @@ stages:
before_script:
- docker info
script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_BUILD_TOKEN" "$CI_REGISTRY"
- docker login -u "$CI_REGISTRY_USER" -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
- docker pull "$CI_REGISTRY_IMAGE/$CI_JOB_NAME" || true
- docker build --cache-from "$CI_REGISTRY_IMAGE/$CI_JOB_NAME" -t "$CI_REGISTRY_IMAGE/$CI_JOB_NAME" "contrib/docker/$CI_JOB_NAME"
- docker push "$CI_REGISTRY_IMAGE/$CI_JOB_NAME"
......
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