Commit c557ae75 authored by ACCE Deploy's avatar ACCE Deploy
Browse files

Fixing push operation

parent e2b4ed20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ function build_and_push() {
  docker build --no-cache -t esgfhub/$img .

  # optionally push the module to Docker Hub
  if [ $pushit == '--push' ]; then
  if [[ $pushit == *"push"* ]]; then
       docker push esgfhub/$img
  fi