Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LakeDropsDrupalDev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
LakeDropsDrupalDev
Commits
7ca31ca4
Commit
7ca31ca4
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Plain Diff
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
!5
Merging develop into main
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
with
5 additions
and
4 deletions
.gitlab-ci.yml
+
3
−
3
View file @
7ca31ca4
# @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
This diff is collapsed.
Click to expand it.
Dockerfile
+
2
−
1
View file @
7ca31ca4
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment