-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·30 lines (24 loc) · 1.14 KB
/
build.sh
File metadata and controls
executable file
·30 lines (24 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
dir=$(dirname $0)
set -ex
export DOCKER_BUILDKIT=1
docker pull jakzal/phpqa:php8.0
docker pull jakzal/phpqa:php8.1
docker pull jakzal/phpqa:php8.2
docker pull jakzal/phpqa:php8.3
docker pull jakzal/phpqa:php8.4
docker pull jakzal/phpqa:php8.5
docker build -t hussainweb/drupalqa:php8.0 --build-arg PHP_VERSION=php8.0 ${dir}/8.x/debian/
docker build -t hussainweb/drupalqa:php8.1 --build-arg PHP_VERSION=php8.1 ${dir}/8.x/debian/
docker build -t hussainweb/drupalqa:php8.2 --build-arg PHP_VERSION=php8.2 ${dir}/8.x/debian/
docker build -t hussainweb/drupalqa:php8.3 --build-arg PHP_VERSION=php8.3 ${dir}/8.x/debian/
docker build -t hussainweb/drupalqa:php8.4 --build-arg PHP_VERSION=php8.4 ${dir}/8.x/debian/
docker build -t hussainweb/drupalqa:php8.5 --build-arg PHP_VERSION=php8.5 ${dir}/8.x/debian/
docker tag hussainweb/drupalqa:php8.5 hussainweb/drupalqa:latest
docker push hussainweb/drupalqa:php8.0
docker push hussainweb/drupalqa:php8.1
docker push hussainweb/drupalqa:php8.2
docker push hussainweb/drupalqa:php8.3
docker push hussainweb/drupalqa:php8.4
docker push hussainweb/drupalqa:php8.5
docker push hussainweb/drupalqa:latest