Merge branch 'bugfix/gitlab-typo' into 'dev'

Fix typo in script (again)

See merge request ligolang/ligo!432
This commit is contained in:
Suzanne Dupéron 2020-02-18 11:28:38 +00:00
commit b23ae21579

View File

@ -137,7 +137,7 @@ build-and-publish-latest-docker-image:
- sh scripts/build_docker_image.sh - sh scripts/build_docker_image.sh
- sh scripts/test_cli.sh - sh scripts/test_cli.sh
- echo ${LIGO_REGISTRY_PASSWORD} | docker login -u ${LIGO_REGISTRY_USER} --password-stdin - echo ${LIGO_REGISTRY_PASSWORD} | docker login -u ${LIGO_REGISTRY_USER} --password-stdin
- docker push ${LIGO_REGISTRY_IMAGE_BUILD:-ligolang/ligo}:$(if "$CI_COMMIT_REF_NAME" = "dev" then echo next; else echo next-attempt; fi) - docker push ${LIGO_REGISTRY_IMAGE_BUILD:-ligolang/ligo}:$(if "$CI_COMMIT_REF_NAME" = "dev"; then echo next; else echo next-attempt; fi)
rules: rules:
# Only deploy docker when from the dev branch AND on the canonical ligolang/ligo repository # Only deploy docker when from the dev branch AND on the canonical ligolang/ligo repository
- if: '$CI_COMMIT_REF_NAME =~ /^(dev|.*-run-dev)$/ && $CI_PROJECT_PATH == "ligolang/ligo"' - if: '$CI_COMMIT_REF_NAME =~ /^(dev|.*-run-dev)$/ && $CI_PROJECT_PATH == "ligolang/ligo"'