Add sickcodes/docker-osx:naked-auto to test.sh

This commit is contained in:
sickcodes 2021-08-26 00:00:23 +00:00
parent 61012cf0c8
commit 5ca6529ae2

View File

@ -122,6 +122,7 @@ NO_CACHE="${NO_CACHE:=--no-cache}"
TEST_BUILDS=( TEST_BUILDS=(
'docker-osx:latest' 'docker-osx:latest'
'docker-osx:naked' 'docker-osx:naked'
'docker-osx:naked-auto'
'docker-osx:big-sur' 'docker-osx:big-sur'
'docker-osx:auto' 'docker-osx:auto'
#'docker-osx:auto-big-sur' #'docker-osx:auto-big-sur'
@ -221,6 +222,16 @@ docker-osx:naked () {
} }
docker-osx:naked-auto () {
docker build ${NO_CACHE} \
--build-arg RANKMIRRORS=true \
--build-arg MIRROR_COUNTRY="${MIRROR_COUNTRY}" \
-f ./Dockerfile.naked-auto \
-t docker-osx:naked-auto .
docker tag docker-osx:naked-auto sickcodes/docker-osx:naked-auto
}
docker-osx:big-sur () { docker-osx:big-sur () {
docker build ${NO_CACHE} \ docker build ${NO_CACHE} \
--build-arg VERSION=11 \ --build-arg VERSION=11 \
@ -291,6 +302,7 @@ if [[ "${DOCKER_USERNAME}" ]] && [[ "${DOCKER_PASSWORD}" ]]; then
&& docker push sickcodes/docker-osx:latest \ && docker push sickcodes/docker-osx:latest \
&& docker push sickcodes/docker-osx:big-sur \ && docker push sickcodes/docker-osx:big-sur \
&& docker push sickcodes/docker-osx:naked \ && docker push sickcodes/docker-osx:naked \
&& docker push sickcodes/docker-osx:naked-auto \
&& docker push sickcodes/docker-osx:auto \ && docker push sickcodes/docker-osx:auto \
&& docker push sickcodes/docker-osx:auto-big-sur \ && docker push sickcodes/docker-osx:auto-big-sur \
&& touch PUSHED && touch PUSHED