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
d2dc26ed
Commit
d2dc26ed
authored
3 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#110
A support for PHP 8.1
parent
a06029e6
No related branches found
Branches containing commit
Tags
v2.3.0
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+6
-43
6 additions, 43 deletions
.gitlab-ci.yml
run/scripts/reset
+2
-0
2 additions, 0 deletions
run/scripts/reset
run/scripts/start
+1
-0
1 addition, 0 deletions
run/scripts/start
with
9 additions
and
43 deletions
.gitlab-ci.yml
+
6
−
43
View file @
d2dc26ed
...
...
@@ -22,50 +22,13 @@ run:
only
:
-
tags
php
-7.0
:
php
:
stage
:
build
parallel
:
matrix
:
-
PHP
:
[
'
7.0'
,
'
7.1'
,
'
7.2'
,
'
7.3'
,
'
7.4'
,
'
8.0'
,
'
8.1'
]
script
:
-
docker build --pull --build-arg PHP_VERSION=7.0 --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-7.0:${VERSION} .
-
docker push ${CI_REGISTRY_IMAGE}/php-7.0:${VERSION}
only
:
-
tags
php-7.1
:
stage
:
build
script
:
-
docker build --pull --build-arg PHP_VERSION=7.1 --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-7.1:${VERSION} .
-
docker push ${CI_REGISTRY_IMAGE}/php-7.1:${VERSION}
only
:
-
tags
php-7.2
:
stage
:
build
script
:
-
docker build --pull --build-arg PHP_VERSION=7.2 --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-7.2:${VERSION} .
-
docker push ${CI_REGISTRY_IMAGE}/php-7.2:${VERSION}
only
:
-
tags
php-7.3
:
stage
:
build
script
:
-
docker build --pull --build-arg PHP_VERSION=7.3 --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-7.3:${VERSION} .
-
docker push ${CI_REGISTRY_IMAGE}/php-7.3:${VERSION}
only
:
-
tags
php-7.4
:
stage
:
build
script
:
-
docker build --pull --build-arg PHP_VERSION=7.4 --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-7.4:${VERSION} .
-
docker push ${CI_REGISTRY_IMAGE}/php-7.4:${VERSION}
only
:
-
tags
php-8.0
:
stage
:
build
script
:
-
docker build --pull --build-arg PHP_VERSION=8.0 --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-8.0:${VERSION} .
-
docker push ${CI_REGISTRY_IMAGE}/php-8.0:${VERSION}
-
docker build --pull --build-arg PHP_VERSION=${PHP} --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION} .
-
docker push ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION}
only
:
-
tags
This diff is collapsed.
Click to expand it.
run/scripts/reset
+
2
−
0
View file @
d2dc26ed
...
...
@@ -17,6 +17,8 @@ export PHP_VERSION=7.4
/usr/local/bin/update
export
PHP_VERSION
=
8.0
/usr/local/bin/update
export
PHP_VERSION
=
8.1
/usr/local/bin/update
echo
"Cleaning old container"
docker
kill
l3drun
>
/dev/null
This diff is collapsed.
Click to expand it.
run/scripts/start
+
1
−
0
View file @
d2dc26ed
...
...
@@ -11,6 +11,7 @@ function getConfig() {
7.3
)
break
;;
7.4
)
break
;;
8.0
)
break
;;
8.1
)
break
;;
*
)
echo
"Version not supported."
;;
esac
done
...
...
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