diff --git a/mixins.yml b/mixins.yml index c7a6de20610079b89f13c1c9e235effbc0af13c0..a200aae1810f5125bc413513b2fe4e8eae99878a 100644 --- a/mixins.yml +++ b/mixins.yml @@ -10,6 +10,9 @@ stages: - finalize - release +include: + - local: '/variables.yml' + .prepareaccess: before_script: - if [[ "x$(command -v ssh-agent)" != "x" && -n $SSH_PRIVATE_KEY ]]; then eval $(ssh-agent -s); fi @@ -82,7 +85,7 @@ stages: - default variables: GIT_STRATEGY: none - image: registry.lakedrops.com/docker/gitlab-drupal-ci/php-8.2 + image: registry.lakedrops.com/docker/gitlab-drupal-ci/php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION} cache: {} before_script: !reference [.prepareaccess, before_script] script: diff --git a/variables.yml b/variables.yml new file mode 100644 index 0000000000000000000000000000000000000000..809b5c3b5029ca245b18d2847bca255b78c788f0 --- /dev/null +++ b/variables.yml @@ -0,0 +1,4 @@ +variables: + PHP_MAJOR_VERSION: 8 + PHP_MINOR_VERSION: 1 + PHP_VERSION: '8.1'