Skip to content

Commit

Permalink
Merge pull request #877 from kobotoolbox/gitlab-16-deprecations
Browse files Browse the repository at this point in the history
Replace deprecated constants in GitLab CI
  • Loading branch information
noliveleger committed May 9, 2023
2 parents e118f1e + 8845c29 commit 0a7f10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:
services:
- docker:dind
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
script:
- docker pull $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME//\//-} || true
- docker build --cache-from $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME//\//-} --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA --tag $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME//\//-} .
Expand Down

0 comments on commit 0a7f10a

Please sign in to comment.