diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index a95a50d..c94820f 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -30,7 +30,7 @@ jobs: - name: Write installer sha256sum to job summary run: | echo "Installer sha256sum:" >> $GITHUB_STEP_SUMMARY - sha256sum en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.deb_bundle.sh.zip >> $GITHUB_STEP_SUMMARY + sha256sum en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.sh.zip >> $GITHUB_STEP_SUMMARY - name: Login to Docker Hub uses: docker/login-action@v3 diff --git a/Dockerfile b/Dockerfile index 69d830f..6b3e080 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,13 +6,13 @@ LABEL org.opencontainers.image.source=https://github.com/MCMattia/stm32cubeide-d ENV DEBIAN_FRONTEND=noninteractive ENV LICENSE_ALREADY_ACCEPTED=1 ENV TZ=Europe/London -ENV PATH="$PATH:/opt/st/stm32cubeide_1.16.0" +ENV PATH="$PATH:/opt/st/stm32cubeide_1.16.1" RUN apt-get -y update RUN apt-get -y install RUN apt-get -y install zip -COPY en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.deb_bundle.sh.zip /tmp/stm32cubeide-installer.sh.zip +COPY en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.sh.zip /tmp/stm32cubeide-installer.sh.zip RUN unzip -p /tmp/stm32cubeide-installer.sh.zip > /tmp/stm32cubeide-installer.sh RUN rm /tmp/stm32cubeide-installer.sh.zip diff --git a/fetchInstaller.ts b/fetchInstaller.ts index 287c11b..ef1bb5d 100644 --- a/fetchInstaller.ts +++ b/fetchInstaller.ts @@ -1,9 +1,9 @@ // deno run --allow-net --allow-write fetchInstaller.ts const url = - "https://www.st.com/content/ccc/resource/technical/software/sw_development_suite/group1/6e/81/da/02/ec/61/46/ab/stm32cubeide-deb/files/st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.deb_bundle.sh.zip/jcr:content/translations/en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.deb_bundle.sh.zip"; + "https://www.st.com/content/ccc/resource/technical/software/sw_development_suite/group1/16/f0/7b/d1/a5/6d/42/66/stm32cubeide-lnx/files/st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.sh.zip/jcr:content/translations/en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.sh.zip"; const filename = - "./en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.deb_bundle.sh.zip"; + "./en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.sh.zip"; async function download(url: string, filename: string) { const response = await fetch(url);