Skip to content

Commit 79f409a

Browse files
committed
add basic scripts to build and push repos.
1 parent 2fe5420 commit 79f409a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

build-images.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
set -x
4+
set -e
5+
6+
(cd base && docker build --rm --pull -t formapro/nginx-php-fpm:latest .)
7+
(cd php-all-exts && docker build --rm --pull -t formapro/nginx-php-fpm:latest-all-exts .)

push-images.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
set -x
4+
set -e
5+
6+
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
7+
docker push formapro/nginx-php-fpm;

0 commit comments

Comments
 (0)