2023-03-28 19:55:30 -04:00
|
|
|
#!/bin/bash
|
|
|
|
DATE_TAG=$(date +%Y)-$(date +%m)-$(date +%d)_$(date +%H)-$(date +%M)-$(date +%S)
|
2023-04-17 09:19:45 -04:00
|
|
|
NEXTCLOUD_VER="25"
|
2023-03-28 19:55:30 -04:00
|
|
|
REGISTRY="code.balsillie.net"
|
|
|
|
ORG="containers"
|
|
|
|
IMAGE="nextcloud-supervisord"
|
|
|
|
IMAGE_FULL="$REGISTRY/$ORG/$IMAGE"
|
2023-04-16 22:31:08 -04:00
|
|
|
docker build --no-cache --pull -f ./Dockerfile --build-arg NEXTCLOUD_VER=$NEXTCLOUD_VER -t "$IMAGE_FULL:$NEXTCLOUD_VER" -t "$IMAGE_FULL:$DATE_TAG" .
|
2023-03-28 19:55:30 -04:00
|
|
|
docker push -a "$IMAGE_FULL"
|
|
|
|
|