-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sh
executable file
·27 lines (21 loc) · 1001 Bytes
/
build.sh
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
#!/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 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.3 --build-arg PHP_VERSION=php8.4 ${dir}/8.x/debian/
docker tag hussainweb/drupalqa:php8.4 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:latest