Skip to content

Commit

Permalink
Update build.sh to add no-cache option
Browse files Browse the repository at this point in the history
  • Loading branch information
arooshap authored Nov 13, 2023
1 parent 796f8b4 commit 1ff63bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ for pkg in $cmssw_pkgs; do

echo "### build $repo/$pkg"
if [ -n "$CMSK8STAG" ]; then
docker build --build-arg CMSK8S=$CMSK8S --build-arg CMSWEB_ENV=$CMSWEB_ENV -t $repo/$pkg -t $repo/$pkg:$CMSK8STAG $pkg
docker build --build-arg CMSK8S=$CMSK8S --build-arg CMSWEB_ENV=$CMSWEB_ENV -t $repo/$pkg -t $repo/$pkg:$CMSK8STAG $pkg --no-cache
docker tag $repo/$pkg:$CMSK8STAG $registry/$pkg:$CMSK8STAG
if [ "$pkg" == "reqmgr2ms" ] ; then
docker tag $repo/$pkg:$CMSK8STAG $registry/reqmgr2ms-output:$CMSK8STAG
Expand Down

0 comments on commit 1ff63bb

Please sign in to comment.