Added image pull before build
This commit is contained in:
parent
ab49fa4384
commit
57bde7e21f
1
build
1
build
|
@ -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
5
push-local
Executable 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user