Commit ee9b004f authored by Romain Ambroise's avatar Romain Ambroise
Browse files

Update .gitlab-ci.yml

parent 23d1f6c5
Loading
Loading
Loading
Loading
Loading
+25 −9
Original line number Diff line number Diff line
image: registre.unicaen.fr:5000/unicaen-dev-php7.3-apache
#update-satis:
#  stage: publish
#  script:
#    - curl https://gest.unicaen.fr/packagist/update


---
stages:
- publish
  - cleanup-runner
  - tag_this_branch_if_success


cleanup-runner:
  stage: cleanup-runner
  script:
    - docker system prune -af
  

cache:
  key: ${CI_COMMIT_REF_SLUG}
  paths:
  - vendor/
services:
  - docker:18.09.7-dind

update-satis:
  stage: publish
tag_this_branch_if_success:
  stage: tag_this_branch_if_success
  image:
    name: docker:dind
  script:
    - curl https://gest.unicaen.fr/packagist/update
    - |
      echo "Hello Word ! " && true
      echo "test2" && true
      echo "test3" && true