diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 638ce5a567f42c64088261351b5ccf347a5b7ead..5b5229012b90ee011e897b13009a89bac92e9e64 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,13 +13,14 @@ stages: build: stage: build + image: composer variables: GIT_STRATEGY: "clone" GIT_SUBMODULE_STRATEGY: "recursive" script: - - ./.gitlab-ci/scripts/composer.sh config store-auths false - - ./.gitlab-ci/scripts/composer.sh config http-basic.git-t3o.typo3.org gitlab-ci-token ${CI_BUILD_TOKEN} - - ./.gitlab-ci/scripts/composer.sh install + - composer config store-auths false + - composer config http-basic.git-t3o.typo3.org gitlab-ci-token ${CI_BUILD_TOKEN} + - composer install artifacts: paths: - ./ @@ -39,7 +40,6 @@ layout: paths: - ./ expire_in: '7d' - environment: ${CI_BUILD_REF_NAME} dependencies: - build except: @@ -52,7 +52,7 @@ layout: - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | ssh-add - script: - - ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy ${CI_BUILD_REF_NAME} + - VERSION=4.0.0-alpine ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy ${CI_BUILD_REF_NAME} when: manual dependencies: - layout