Преглед изворни кода

fix(musare.sh): Pull images used for linting

Owen Diffey пре 3 дана
родитељ
комит
1fffde64b1
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      musare.sh

+ 2 - 2
musare.sh

@@ -303,12 +303,12 @@ handleLinting()
     if [[ ${servicesString:2:4} == "all" || "${servicesString:2}" == *docs* ]]; then
     if [[ ${servicesString:2:4} == "all" || "${servicesString:2}" == *docs* ]]; then
         echo -e "${CYAN}Running docs lint...${NC}"
         echo -e "${CYAN}Running docs lint...${NC}"
         # shellcheck disable=SC2086
         # shellcheck disable=SC2086
-        ${docker} run --rm -v "${scriptLocation}":/workdir ghcr.io/igorshubovych/markdownlint-cli:latest ".wiki" "*.md" ${fix}
+        ${docker} run --rm -v "${scriptLocation}":/workdir --pull always ghcr.io/igorshubovych/markdownlint-cli:latest ".wiki" "*.md" ${fix}
         docsExitValue=$?
         docsExitValue=$?
     fi
     fi
     if [[ ${servicesString:2:4} == "all" || "${servicesString:2}" == *shell* ]]; then
     if [[ ${servicesString:2:4} == "all" || "${servicesString:2}" == *shell* ]]; then
         echo -e "${CYAN}Running shell lint...${NC}"
         echo -e "${CYAN}Running shell lint...${NC}"
-        ${docker} run --rm -v "${scriptLocation}":/mnt koalaman/shellcheck:stable ./*.sh ./**/*.sh
+        ${docker} run --rm -v "${scriptLocation}":/mnt --pull always koalaman/shellcheck:stable ./*.sh ./**/*.sh
         shellExitValue=$?
         shellExitValue=$?
     fi
     fi
     set -e
     set -e