Browse Source

Added image pull before build

master
bkraul 1 year ago
parent
commit
57bde7e21f
3 changed files with 8 additions and 0 deletions
  1. +1
    -0
      build
  2. +5
    -0
      push-local
  3. +2
    -0
      tag-local

+ 1
- 0
build View File

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

+ 5
- 0
push-local 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
- 0
tag-local 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

Loading…
Cancel
Save