Skip to content
Snippets Groups Projects
Select Git revision
  • d7a0b749d3008f929434394d5ef097b4d648428b
  • master default protected
  • 1.2.3
  • 1.2.2
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0
10 results

.gitlab-ci.yml

Blame
  • .gitlab-ci.yml 747 B
    variables:
      DOCKER_DRIVER: overlay2
      DOCKER_HOST: tcp://docker:2375
      DOCKER_TLS_CERTDIR: ""
    
    stages:
      - build
    
    .template: &build-template
      tags:
        - privileged
      image: docker:latest
      services:
        - docker:dind
      variables:
        IMAGE_TAG: $CI_REGISTRY_IMAGE
      stage: build
      before_script:
        - echo $CI_REGISTRY
        - echo $CI_REGISTRY_USER
        - echo $CI_REGISTRY_PASSWORD
        - echo $CI_REGISTRY_IMAGE
        - echo $IMAGE_TAG
        - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
      script:
        - cd Docker/php-8.1
        - sh ./build.sh
        - cd ..
        - cd Docker/php-8.2
        - sh ./build.sh
    
    build:
      <<: *build-template
      only:
        - main
    
    build manual:
      <<: *build-template
      when: manual
      except:
        - main