Added image pull before build

This commit is contained in:
bkraul 2019-03-22 07:01:08 -05:00
parent ab49fa4384
commit 57bde7e21f
3 changed files with 8 additions and 0 deletions

1
build
View File

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
docker pull nginx:alpine
docker build $1\ docker build $1\
-t bkraul/nginx-nextcloud:latest \ -t bkraul/nginx-nextcloud:latest \
-t bkraul/nginx-nextcloud:alpine \ -t bkraul/nginx-nextcloud:alpine \

5
push-local Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
docker push docker-registry.belmankraul.com/bkraul/nginx-nextcloud:latest
docker push docker-registry.belmankraul.com/bkraul/nginx-nextcloud:alpine

2
tag-local Executable file
View File

@ -0,0 +1,2 @@
docker tag bkraul/nginx-nextcloud:latest docker-registry.belmankraul.com/bkraul/nginx-nextcloud:latest
docker tag bkraul/nginx-nextcloud:alpine docker-registry.belmankraul.com/bkraul/nginx-nextcloud:alpine