Loading .gitlab-ci.yml +10 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,16 @@ before_script: stages: - build build8.4: stage: build script: - export HTTP_PROXY=http://10.14.128.99:3128 - export PHP_VERSION=8.4 - docker build --rm --build-arg PHP_VERSION=${PHP_VERSION} --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile-8.x -t open-source/docker/unicaen-image:php${PHP_VERSION} . - docker tag open-source/docker/unicaen-image:php${PHP_VERSION} registre.unicaen.fr:5000/open-source/docker/unicaen-image:php${PHP_VERSION} - echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin - docker push registre.unicaen.fr:5000/open-source/docker/unicaen-image:php${PHP_VERSION} build8.2: stage: build script: Loading Loading
.gitlab-ci.yml +10 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,16 @@ before_script: stages: - build build8.4: stage: build script: - export HTTP_PROXY=http://10.14.128.99:3128 - export PHP_VERSION=8.4 - docker build --rm --build-arg PHP_VERSION=${PHP_VERSION} --build-arg HTTP_PROXY=${HTTP_PROXY} -f Dockerfile-8.x -t open-source/docker/unicaen-image:php${PHP_VERSION} . - docker tag open-source/docker/unicaen-image:php${PHP_VERSION} registre.unicaen.fr:5000/open-source/docker/unicaen-image:php${PHP_VERSION} - echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin - docker push registre.unicaen.fr:5000/open-source/docker/unicaen-image:php${PHP_VERSION} build8.2: stage: build script: Loading