From 39df24d4480920c427422a4d70d1e3055ea5a391 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Sat, 6 Apr 2024 11:49:31 -0600 Subject: [PATCH 1/2] Update curl command to match mikrotik website change. --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 60bd332..33da164 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -18,7 +18,7 @@ jobs: - name: Check new release id: check_release run: | - LAST_MIKROTIK_RELEASE=$(curl https://mikrotik.com/download/archive -o - 2>/dev/null | grep -o '/dev/null | grep -o ' Date: Sat, 6 Apr 2024 11:51:06 -0600 Subject: [PATCH 2/2] Update download url to match mikrotik website change. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a2963c6..6730349 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN set -xe \ # Environments which may be change ENV ROUTEROS_VERSION="7.14.1" ENV ROUTEROS_IMAGE="chr-${ROUTEROS_VERSION}.vdi" -ENV ROUTEROS_PATH="https://download.mikrotik.com/routeros/${ROUTEROS_VERSION}/${ROUTEROS_IMAGE}.zip" +ENV ROUTEROS_PATH="https://cdn.mikrotik.com/routeros/${ROUTEROS_VERSION}/${ROUTEROS_IMAGE}.zip" # Download VDI image from remote site RUN wget "$ROUTEROS_PATH" -O "/routeros/${ROUTEROS_IMAGE}.zip" && \