Skip to content
Snippets Groups Projects
Commit b82b4b90 authored by Ray Garcia's avatar Ray Garcia :scream_cat:
Browse files

make --no-cache optional

parent b61fc903
No related branches found
No related tags found
No related merge requests found
#sh!/bin/bash -ex
tag=$1
shift
test -n "$tag"
git diff $tag
# git rev-parse --short ${TAG}
hash=$(git rev-parse --short HEAD)
echo building rGIT${hash}
sleep 1
docker build --no-cache --build-arg BORT=${tag} . -f shellb3-cspp-py38.Dockerfile \
docker build "$@" --build-arg BORT=${tag} . -f shellb3-cspp-py38.Dockerfile \
-t shellb3-cspp-py38:latest \
-t gitlab.ssec.wisc.edu:5555/cspp/buildbucket/shellb3/shellb3-centos7-gcc8-cspp-py38:rGIT${hash} \
-t gitlab.ssec.wisc.edu:5555/cspp/buildbucket/shellb3/shellb3-centos7-gcc8-cspp-py38:latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment