Skip to content
Snippets Groups Projects
Commit 7ca31ca4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !5
parents 28f9c8c8 686cd118
No related branches found
No related tags found
1 merge request!5Merging develop into main
# @todo: re-structure the use of image tags.
variables: variables:
VERSION: ${CI_COMMIT_TAG} VERSION: ${CI_COMMIT_TAG}
CI_VERSION: v2.0.1
before_script: before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
...@@ -27,9 +27,9 @@ php: ...@@ -27,9 +27,9 @@ php:
stage: build stage: build
parallel: parallel:
matrix: matrix:
- PHP: ['7.0','7.1','7.2','7.3','7.4','8.0','8.1'] - PHP: ['7.2','7.3','7.4','8.0','8.1']
script: script:
- docker build --pull --build-arg PHP_VERSION=${PHP} --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION} . - docker build --pull --build-arg PHP_VERSION=${PHP} --build-arg VERSION=${VERSION} --build-arg CI_VERSION=${CI_VERSION} -t ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION} .
- docker push ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION} - docker push ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION}
only: only:
- tags - tags
ARG PHP_VERSION ARG PHP_VERSION
ARG CI_VERSION
FROM registry.lakedrops.com/docker/gitlab-drupal-ci:php-${PHP_VERSION} FROM registry.lakedrops.com/docker/gitlab-drupal-ci/php-${PHP_VERSION}:${CI_VERSION}
ARG VERSION ARG VERSION
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment