-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
executable file
·33 lines (24 loc) · 1.99 KB
/
run.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
28
29
30
31
32
33
#!/bin/sh
set -e
set -x
VERSION=1.0.26
docker build --pull --no-cache --tag="danskernesdigitalebibliotek/php7.3-fpm-base:latest" --file="php7.3-fpm-base/Dockerfile" php7.3-fpm-base
docker build --pull --no-cache --tag="danskernesdigitalebibliotek/php7.4-fpm-base:latest" --file="php7.4-fpm-base/Dockerfile" php7.4-fpm-base
docker build --pull --no-cache --tag="danskernesdigitalebibliotek/php8.0-fpm-base:latest" --file="php8.0-fpm-base/Dockerfile" php8.0-fpm-base
docker build --pull --no-cache --tag="danskernesdigitalebibliotek/php8.1-fpm-base:latest" --file="php8.1-fpm-base/Dockerfile" php8.1-fpm-base
docker build --pull --no-cache --tag="danskernesdigitalebibliotek/elasticsearch_exporter:latest" --file="elasticsearch_exporter/Dockerfile" elasticsearch_exporter
docker image tag danskernesdigitalebibliotek/php7.3-fpm-base danskernesdigitalebibliotek/php7.3-fpm-base:${VERSION}
docker push danskernesdigitalebibliotek/php7.3-fpm-base:${VERSION}
docker push danskernesdigitalebibliotek/php7.3-fpm-base:latest
docker image tag danskernesdigitalebibliotek/php7.4-fpm-base danskernesdigitalebibliotek/php7.4-fpm-base:${VERSION}
docker push danskernesdigitalebibliotek/php7.4-fpm-base:${VERSION}
docker push danskernesdigitalebibliotek/php7.4-fpm-base:latest
docker image tag danskernesdigitalebibliotek/php8.0-fpm-base danskernesdigitalebibliotek/php8.0-fpm-base:${VERSION}
docker push danskernesdigitalebibliotek/php8.0-fpm-base:${VERSION}
docker push danskernesdigitalebibliotek/php8.0-fpm-base:latest
docker image tag danskernesdigitalebibliotek/php8.1-fpm-base danskernesdigitalebibliotek/php8.1-fpm-base:${VERSION}
docker push danskernesdigitalebibliotek/php8.1-fpm-base:${VERSION}
docker push danskernesdigitalebibliotek/php8.1-fpm-base:latest
docker image tag danskernesdigitalebibliotek/elasticsearch_exporter danskernesdigitalebibliotek/elasticsearch_exporter:${VERSION}
docker push danskernesdigitalebibliotek/elasticsearch_exporter:${VERSION}
docker push danskernesdigitalebibliotek/elasticsearch_exporter:latest