From ca666b1c6fb9de67eeeac3f7f8aafad6a1462d4b Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 19 Sep 2024 23:42:55 +0000 Subject: [PATCH 01/74] new ioBroker versions --- .github/dependencies/.admin-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.admin-version b/.github/dependencies/.admin-version index 31d895b..21c8c7b 100644 --- a/.github/dependencies/.admin-version +++ b/.github/dependencies/.admin-version @@ -1 +1 @@ -7.0.23 +7.1.1 From d3d26d19bb12a996166df3a7bcdc43353b076d09 Mon Sep 17 00:00:00 2001 From: buanet Date: Fri, 20 Sep 2024 23:43:14 +0000 Subject: [PATCH 02/74] new ioBroker versions --- .github/dependencies/.admin-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.admin-version b/.github/dependencies/.admin-version index 21c8c7b..a8a1887 100644 --- a/.github/dependencies/.admin-version +++ b/.github/dependencies/.admin-version @@ -1 +1 @@ -7.1.1 +7.1.2 From b0fe6a80821c39d9fdad0167ca36b3aaf3d5253f Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 26 Sep 2024 23:43:16 +0000 Subject: [PATCH 03/74] new ioBroker versions --- .github/dependencies/.admin-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.admin-version b/.github/dependencies/.admin-version index a8a1887..69adf34 100644 --- a/.github/dependencies/.admin-version +++ b/.github/dependencies/.admin-version @@ -1 +1 @@ -7.1.2 +7.1.5 From bab099260a1f58b806fc6243f68de5f844a5f4bf Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 15 Oct 2024 23:43:29 +0000 Subject: [PATCH 04/74] new ioBroker versions --- .github/dependencies/.backitup-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.backitup-version b/.github/dependencies/.backitup-version index 6795d4d..de2e889 100644 --- a/.github/dependencies/.backitup-version +++ b/.github/dependencies/.backitup-version @@ -1 +1 @@ -3.0.22 +3.0.25 From 1c3257a0400319a0f9ff8b89279e636bd8303481 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 12 Nov 2024 23:43:07 +0000 Subject: [PATCH 05/74] new ioBroker versions --- .github/dependencies/.nodejs-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.nodejs-version b/.github/dependencies/.nodejs-version index d78bf0a..93d866f 100644 --- a/.github/dependencies/.nodejs-version +++ b/.github/dependencies/.nodejs-version @@ -1 +1 @@ -v18.20.4 +v18.20.5 From 2df113f78ac7308ffe415688b94965773d975739 Mon Sep 17 00:00:00 2001 From: buanet Date: Fri, 22 Nov 2024 12:07:14 +0100 Subject: [PATCH 06/74] testing build --- .../workflows/build-debian12-latest_sep.yml | 336 ++++++++++++++++++ 1 file changed, 336 insertions(+) create mode 100644 .github/workflows/build-debian12-latest_sep.yml diff --git a/.github/workflows/build-debian12-latest_sep.yml b/.github/workflows/build-debian12-latest_sep.yml new file mode 100644 index 0000000..62c88e8 --- /dev/null +++ b/.github/workflows/build-debian12-latest_sep.yml @@ -0,0 +1,336 @@ +# Github action to build Debian12 image (Tag: latest) +name: Build Debian 12 Image (latest) + +on: + release: + types: [released] + workflow_dispatch: + +jobs: + build-latest-armv7-for-buanet: + name: Build latest armv7 image for buanet + runs-on: ubuntu-latest + steps: + - name: Fetch latest release tag + run: | + LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" + echo "Latest release tag : $LATESTRELEASE" + echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV + + - name: Checkout repo + uses: actions/checkout@v4.1.7 + with: + repository: 'buanet/ioBroker.docker' + ref: ${{ env.RELEASE_TAG }} + + - name: Set job variables + run: | + VERSION="$(cat .VERSION)" + MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" + DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + # Log output and export as Github environment variable + echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" + echo "[LOG] Image Version: $VERSION" + echo "version=$VERSION" >> $GITHUB_ENV + echo "[LOG] Major Image Version: $MAJORVERSION" + echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV + echo "[LOG] Buildnumber/Timestamp: $DATI" + echo "dati=$DATI" >> $GITHUB_ENV + # Set values in iobroker_startup.sh + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh + # Set values in Dockerfile + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.2.0 + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v3.6.1 + + - name: Login to DockerHub (buanet) + uses: docker/login-action@v3.3.0 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_PASS }} + + - name: Login to GitHub Container Registry + uses: docker/login-action@v3.3.0 + with: + registry: ghcr.io + username: ${{ secrets.PACKAGES_USER }} + password: ${{ secrets.PACKAGES_PASS }} + + - name: Build and push Docker image + uses: docker/build-push-action@v6.6.1 + with: + context: ./debian12 + file: ./debian12/Dockerfile + push: true + platforms: linux/arm/v7 + tags: | + buanet/iobroker:latest-armv7, + ghcr.io/buanet/iobroker:latest-armv7, + provenance: false + outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net) + + build-latest-arm64v8-for-buanet: + name: Build latest armv64v8 image for buanet + runs-on: ubuntu-latest + steps: + - name: Fetch latest release tag + run: | + LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" + echo "Latest release tag : $LATESTRELEASE" + echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV + + - name: Checkout repo + uses: actions/checkout@v4.1.7 + with: + repository: 'buanet/ioBroker.docker' + ref: ${{ env.RELEASE_TAG }} + + - name: Set job variables + run: | + VERSION="$(cat .VERSION)" + MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" + DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + # Log output and export as Github environment variable + echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" + echo "[LOG] Image Version: $VERSION" + echo "version=$VERSION" >> $GITHUB_ENV + echo "[LOG] Major Image Version: $MAJORVERSION" + echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV + echo "[LOG] Buildnumber/Timestamp: $DATI" + echo "dati=$DATI" >> $GITHUB_ENV + # Set values in iobroker_startup.sh + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh + # Set values in Dockerfile + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.2.0 + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v3.6.1 + + - name: Login to DockerHub (buanet) + uses: docker/login-action@v3.3.0 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_PASS }} + + - name: Login to GitHub Container Registry + uses: docker/login-action@v3.3.0 + with: + registry: ghcr.io + username: ${{ secrets.PACKAGES_USER }} + password: ${{ secrets.PACKAGES_PASS }} + + - name: Build and push Docker image + uses: docker/build-push-action@v6.6.1 + with: + context: ./debian12 + file: ./debian12/Dockerfile + push: true + platforms: linux/arm64/v8 + tags: | + buanet/iobroker:latest-arm64v8, + ghcr.io/buanet/iobroker:latest-arm64v8, + provenance: false + outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net) + + build-latest-amd64-for-buanet: + name: Build latest amd64 image for buanet + runs-on: ubuntu-latest + steps: + - name: Fetch latest release tag + run: | + LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" + echo "Latest release tag : $LATESTRELEASE" + echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV + + - name: Checkout repo + uses: actions/checkout@v4.1.7 + with: + repository: 'buanet/ioBroker.docker' + ref: ${{ env.RELEASE_TAG }} + + - name: Set job variables + run: | + VERSION="$(cat .VERSION)" + MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" + DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + # Log output and export as Github environment variable + echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" + echo "[LOG] Image Version: $VERSION" + echo "version=$VERSION" >> $GITHUB_ENV + echo "[LOG] Major Image Version: $MAJORVERSION" + echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV + echo "[LOG] Buildnumber/Timestamp: $DATI" + echo "dati=$DATI" >> $GITHUB_ENV + # Set values in iobroker_startup.sh + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh + # Set values in Dockerfile + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.2.0 + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v3.6.1 + + - name: Login to DockerHub (buanet) + uses: docker/login-action@v3.3.0 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_PASS }} + + - name: Login to GitHub Container Registry + uses: docker/login-action@v3.3.0 + with: + registry: ghcr.io + username: ${{ secrets.PACKAGES_USER }} + password: ${{ secrets.PACKAGES_PASS }} + + - name: Build and push Docker image + uses: docker/build-push-action@v6.6.1 + with: + context: ./debian12 + file: ./debian12/Dockerfile + push: true + platforms: linux/amd64 + tags: | + buanet/iobroker:latest-amd64, + ghcr.io/buanet/iobroker:latest-amd64, + provenance: false + outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net) + + create_and_push_multiarch_image: + runs-on: ubuntu-latest + needs: [build-latest-armv7-for-buanet, build-latest-arm64v8-for-buanet, build-latest-amd64-for-buanet] + steps: + - name: Fetch latest release tag + run: | + LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" + echo "Latest release tag : $LATESTRELEASE" + echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV + + - name: Checkout repo + uses: actions/checkout@v4.1.7 + with: + repository: 'buanet/ioBroker.docker' + ref: ${{ env.RELEASE_TAG }} + + - name: Set job variables + run: | + VERSION="$(cat .VERSION)" + MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" + DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + # Log output and export as Github environment variable + echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" + echo "[LOG] Image Version: $VERSION" + echo "version=$VERSION" >> $GITHUB_ENV + echo "[LOG] Major Image Version: $MAJORVERSION" + echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV + echo "[LOG] Buildnumber/Timestamp: $DATI" + echo "dati=$DATI" >> $GITHUB_ENV + # Set values in iobroker_startup.sh + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh + # Set values in Dockerfile + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile + - name: Login to DockerHub (buanet) + uses: docker/login-action@v3.3.0 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_PASS }} + + - name: Login to GitHub Container Registry + uses: docker/login-action@v3.3.0 + with: + registry: ghcr.io + username: ${{ secrets.PACKAGES_USER }} + password: ${{ secrets.PACKAGES_PASS }} + + - name: Create and push multi-platform image + run: | + docker buildx imagetools create -t buanet/iobroker:test buanet/iobroker:latest-armv7 buanet/iobroker:latest-arm64v8 buanet/iobroker:latest-amd64 + docker buildx imagetools create -t ghcr.io/buanet/iobroker:test ghcr.io/buanet/iobroker:latest-armv7 ghcr.io/buanet/iobroker:latest-arm64v8 ghcr.io/buanet/iobroker:latest-amd64 +# docker buildx imagetools create -t buanet/iobroker:${{ env.majorversion }} buanet/iobroker:latest-armv7 buanet/iobroker:latest-arm64v8 buanet/iobroker:latest-amd64 +# docker buildx imagetools create -t buanet/iobroker:${{ env.version }} buanet/iobroker:latest-armv7 buanet/iobroker:latest-arm64v8 buanet/iobroker:latest-amd64 + +# build-latest-for-iobroker: +# name: Build latest image for iobroker +# runs-on: ubuntu-latest +# steps: +# - name: Fetch latest release tag +# run: | +# LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" +# echo "Latest release tag : $LATESTRELEASE" +# echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV +# +# - name: Checkout repo +# uses: actions/checkout@v4.1.7 +# with: +# repository: 'buanet/ioBroker.docker' +# ref: ${{ env.RELEASE_TAG }} +# +# - name: Set job variables +# run: | +# VERSION="$(cat .VERSION)" +# MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" +# DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" +# # Log output and export as Github environment variable +# echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" +# echo "[LOG] Image Version: $VERSION" +# echo "version=$VERSION" >> $GITHUB_ENV +# echo "[LOG] Major Image Version: $MAJORVERSION" +# echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV +# echo "[LOG] Buildnumber/Timestamp: $DATI" +# echo "dati=$DATI" >> $GITHUB_ENV +# # Set values in iobroker_startup.sh +# sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp +# mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh +# # Set values in Dockerfile +# sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp +# mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile +# +# - name: Set up QEMU +# uses: docker/setup-qemu-action@v3.2.0 +# +# - name: Set up Docker Buildx +# id: buildx +# uses: docker/setup-buildx-action@v3.6.1 +# +# - name: Login to DockerHub (buanet) +# uses: docker/login-action@v3.3.0 +# with: +# username: ${{ secrets.DOCKER_USER_IOB }} +# password: ${{ secrets.DOCKER_PASS_IOB }} +# +# - name: Build and push Docker image +# uses: docker/build-push-action@v6.6.1 +# with: +# context: ./debian12 +# file: ./debian12/Dockerfile +# push: false +# platforms: | +# linux/amd64 +# linux/arm64/v8 +# linux/arm/v7 +# tags: | +# iobroker/iobroker:latest, +# iobroker/iobroker:${{ env.majorversion }}, +# iobroker/iobroker:${{ env.version }}, +# provenance: false +# outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net) From 36dc9eba9bd2f40835e370c7cc90f2b412237246 Mon Sep 17 00:00:00 2001 From: buanet Date: Fri, 22 Nov 2024 12:09:22 +0100 Subject: [PATCH 07/74] rename --- .github/workflows/build-debian12-latest_sep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-debian12-latest_sep.yml b/.github/workflows/build-debian12-latest_sep.yml index 62c88e8..f46bf44 100644 --- a/.github/workflows/build-debian12-latest_sep.yml +++ b/.github/workflows/build-debian12-latest_sep.yml @@ -1,5 +1,5 @@ # Github action to build Debian12 image (Tag: latest) -name: Build Debian 12 Image (latest) +name: Build Debian 12 Image new (latest) on: release: From 567998b7c457a2d2aa263a1307cc4bacb0a3b9c5 Mon Sep 17 00:00:00 2001 From: buanet Date: Fri, 22 Nov 2024 12:22:16 +0100 Subject: [PATCH 08/74] testing --- .github/workflows/build-debian12-latest_sep.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/build-debian12-latest_sep.yml b/.github/workflows/build-debian12-latest_sep.yml index f46bf44..e8c44da 100644 --- a/.github/workflows/build-debian12-latest_sep.yml +++ b/.github/workflows/build-debian12-latest_sep.yml @@ -73,8 +73,6 @@ jobs: tags: | buanet/iobroker:latest-armv7, ghcr.io/buanet/iobroker:latest-armv7, - provenance: false - outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net) build-latest-arm64v8-for-buanet: name: Build latest armv64v8 image for buanet @@ -142,8 +140,6 @@ jobs: tags: | buanet/iobroker:latest-arm64v8, ghcr.io/buanet/iobroker:latest-arm64v8, - provenance: false - outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net) build-latest-amd64-for-buanet: name: Build latest amd64 image for buanet @@ -181,9 +177,6 @@ jobs: sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile - - name: Set up QEMU - uses: docker/setup-qemu-action@v3.2.0 - - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3.6.1 @@ -211,8 +204,6 @@ jobs: tags: | buanet/iobroker:latest-amd64, ghcr.io/buanet/iobroker:latest-amd64, - provenance: false - outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net) create_and_push_multiarch_image: runs-on: ubuntu-latest From a66ffffed9f05d35fa1e30efd8571e6a4542f273 Mon Sep 17 00:00:00 2001 From: buanet Date: Sun, 24 Nov 2024 23:42:12 +0100 Subject: [PATCH 09/74] test new build --- .../workflows/build-debian12-latest_sep.yml | 307 +++++++++++++----- 1 file changed, 231 insertions(+), 76 deletions(-) diff --git a/.github/workflows/build-debian12-latest_sep.yml b/.github/workflows/build-debian12-latest_sep.yml index e8c44da..e99b14e 100644 --- a/.github/workflows/build-debian12-latest_sep.yml +++ b/.github/workflows/build-debian12-latest_sep.yml @@ -71,8 +71,8 @@ jobs: push: true platforms: linux/arm/v7 tags: | - buanet/iobroker:latest-armv7, - ghcr.io/buanet/iobroker:latest-armv7, + buanet/iobroker:${{ env.version }}-armv7, + ghcr.io/buanet/iobroker:${{ env.version }}-armv7, build-latest-arm64v8-for-buanet: name: Build latest armv64v8 image for buanet @@ -138,8 +138,8 @@ jobs: push: true platforms: linux/arm64/v8 tags: | - buanet/iobroker:latest-arm64v8, - ghcr.io/buanet/iobroker:latest-arm64v8, + buanet/iobroker:${{ env.version }}-arm64v8, + ghcr.io/buanet/iobroker:${{ env.version }}-arm64v8, build-latest-amd64-for-buanet: name: Build latest amd64 image for buanet @@ -202,10 +202,10 @@ jobs: push: true platforms: linux/amd64 tags: | - buanet/iobroker:latest-amd64, - ghcr.io/buanet/iobroker:latest-amd64, + buanet/iobroker:${{ env.version }}-amd64, + ghcr.io/buanet/iobroker:${{ env.version }}-amd64, - create_and_push_multiarch_image: + create-multiarch-image-for-buanet: runs-on: ubuntu-latest needs: [build-latest-armv7-for-buanet, build-latest-arm64v8-for-buanet, build-latest-amd64-for-buanet] steps: @@ -255,73 +255,228 @@ jobs: - name: Create and push multi-platform image run: | - docker buildx imagetools create -t buanet/iobroker:test buanet/iobroker:latest-armv7 buanet/iobroker:latest-arm64v8 buanet/iobroker:latest-amd64 - docker buildx imagetools create -t ghcr.io/buanet/iobroker:test ghcr.io/buanet/iobroker:latest-armv7 ghcr.io/buanet/iobroker:latest-arm64v8 ghcr.io/buanet/iobroker:latest-amd64 -# docker buildx imagetools create -t buanet/iobroker:${{ env.majorversion }} buanet/iobroker:latest-armv7 buanet/iobroker:latest-arm64v8 buanet/iobroker:latest-amd64 -# docker buildx imagetools create -t buanet/iobroker:${{ env.version }} buanet/iobroker:latest-armv7 buanet/iobroker:latest-arm64v8 buanet/iobroker:latest-amd64 + docker buildx imagetools create -t buanet/iobroker:latest buanet/iobroker:${{ env.version }}-armv7 buanet/iobroker:${{ env.version }}-arm64v8 buanet/iobroker:${{ env.version }}-amd64 + docker buildx imagetools create -t ghcr.io/buanet/iobroker:latest ghcr.io/buanet/iobroker:${{ env.version }}-armv7 ghcr.io/buanet/iobroker:${{ env.version }}-arm64v8 ghcr.io/buanet/iobroker:${{ env.version }}-amd64 + docker buildx imagetools create -t buanet/iobroker:${{ env.majorversion }} buanet/iobroker:${{ env.version }}-armv7 buanet/iobroker:${{ env.version }}-arm64v8 buanet/iobroker:${{ env.version }}-amd64 + docker buildx imagetools create -t ghcr.io/buanet/iobroker:${{ env.majorversion }} ghcr.io/buanet/iobroker:${{ env.version }}-armv7 ghcr.io/buanet/iobroker:${{ env.version }}-arm64v8 ghcr.io/buanet/iobroker:${{ env.version }}-amd64 + docker buildx imagetools create -t buanet/iobroker:${{ env.version }} buanet/iobroker:${{ env.version }}-armv7 buanet/iobroker:${{ env.version }}-arm64v8 buanet/iobroker:${{ env.version }}-amd64 + docker buildx imagetools create -t ghcr.io/buanet/iobroker:${{ env.version }} ghcr.io/buanet/iobroker:${{ env.version }}-armv7 ghcr.io/buanet/iobroker:${{ env.version }}-arm64v8 ghcr.io/buanet/iobroker:${{ env.version }}-amd64 -# build-latest-for-iobroker: -# name: Build latest image for iobroker -# runs-on: ubuntu-latest -# steps: -# - name: Fetch latest release tag -# run: | -# LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" -# echo "Latest release tag : $LATESTRELEASE" -# echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV -# -# - name: Checkout repo -# uses: actions/checkout@v4.1.7 -# with: -# repository: 'buanet/ioBroker.docker' -# ref: ${{ env.RELEASE_TAG }} -# -# - name: Set job variables -# run: | -# VERSION="$(cat .VERSION)" -# MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" -# DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" -# # Log output and export as Github environment variable -# echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" -# echo "[LOG] Image Version: $VERSION" -# echo "version=$VERSION" >> $GITHUB_ENV -# echo "[LOG] Major Image Version: $MAJORVERSION" -# echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV -# echo "[LOG] Buildnumber/Timestamp: $DATI" -# echo "dati=$DATI" >> $GITHUB_ENV -# # Set values in iobroker_startup.sh -# sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp -# mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh -# # Set values in Dockerfile -# sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp -# mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile -# -# - name: Set up QEMU -# uses: docker/setup-qemu-action@v3.2.0 -# -# - name: Set up Docker Buildx -# id: buildx -# uses: docker/setup-buildx-action@v3.6.1 -# -# - name: Login to DockerHub (buanet) -# uses: docker/login-action@v3.3.0 -# with: -# username: ${{ secrets.DOCKER_USER_IOB }} -# password: ${{ secrets.DOCKER_PASS_IOB }} -# -# - name: Build and push Docker image -# uses: docker/build-push-action@v6.6.1 -# with: -# context: ./debian12 -# file: ./debian12/Dockerfile -# push: false -# platforms: | -# linux/amd64 -# linux/arm64/v8 -# linux/arm/v7 -# tags: | -# iobroker/iobroker:latest, -# iobroker/iobroker:${{ env.majorversion }}, -# iobroker/iobroker:${{ env.version }}, -# provenance: false -# outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net) + build-latest-armv7-for-iobroker: + name: Build latest armv7 image for iobroker + runs-on: ubuntu-latest + steps: + - name: Fetch latest release tag + run: | + LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" + echo "Latest release tag : $LATESTRELEASE" + echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV + + - name: Checkout repo + uses: actions/checkout@v4.1.7 + with: + repository: 'buanet/ioBroker.docker' + ref: ${{ env.RELEASE_TAG }} + + - name: Set job variables + run: | + VERSION="$(cat .VERSION)" + MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" + DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + # Log output and export as Github environment variable + echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" + echo "[LOG] Image Version: $VERSION" + echo "version=$VERSION" >> $GITHUB_ENV + echo "[LOG] Major Image Version: $MAJORVERSION" + echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV + echo "[LOG] Buildnumber/Timestamp: $DATI" + echo "dati=$DATI" >> $GITHUB_ENV + # Set values in iobroker_startup.sh + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh + # Set values in Dockerfile + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.2.0 + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v3.6.1 + + - name: Login to DockerHub (iobroker) + uses: docker/login-action@v3.3.0 + with: + username: ${{ secrets.DOCKER_USER_IOB }} + password: ${{ secrets.DOCKER_PASS_IOB }} + + - name: Build and push Docker image + uses: docker/build-push-action@v6.6.1 + with: + context: ./debian12 + file: ./debian12/Dockerfile + push: true + platforms: linux/arm/v7 + tags: iobroker/iobroker:${{ env.version }}-armv7 + + build-latest-arm64v8-for-iobroker: + name: Build latest armv64v8 image for iobroker + runs-on: ubuntu-latest + steps: + - name: Fetch latest release tag + run: | + LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" + echo "Latest release tag : $LATESTRELEASE" + echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV + + - name: Checkout repo + uses: actions/checkout@v4.1.7 + with: + repository: 'buanet/ioBroker.docker' + ref: ${{ env.RELEASE_TAG }} + + - name: Set job variables + run: | + VERSION="$(cat .VERSION)" + MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" + DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + # Log output and export as Github environment variable + echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" + echo "[LOG] Image Version: $VERSION" + echo "version=$VERSION" >> $GITHUB_ENV + echo "[LOG] Major Image Version: $MAJORVERSION" + echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV + echo "[LOG] Buildnumber/Timestamp: $DATI" + echo "dati=$DATI" >> $GITHUB_ENV + # Set values in iobroker_startup.sh + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh + # Set values in Dockerfile + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.2.0 + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v3.6.1 + + - name: Login to DockerHub (iobroker) + uses: docker/login-action@v3.3.0 + with: + username: ${{ secrets.DOCKER_USER_IOB }} + password: ${{ secrets.DOCKER_PASS_IOB }} + + - name: Build and push Docker image + uses: docker/build-push-action@v6.6.1 + with: + context: ./debian12 + file: ./debian12/Dockerfile + push: true + platforms: linux/arm64/v8 + tags: iobroker/iobroker:${{ env.version }}-arm64v8 + + build-latest-amd64-for-iobroker: + name: Build latest amd64 image for iobroker + runs-on: ubuntu-latest + steps: + - name: Fetch latest release tag + run: | + LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" + echo "Latest release tag : $LATESTRELEASE" + echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV + + - name: Checkout repo + uses: actions/checkout@v4.1.7 + with: + repository: 'buanet/ioBroker.docker' + ref: ${{ env.RELEASE_TAG }} + + - name: Set job variables + run: | + VERSION="$(cat .VERSION)" + MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" + DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + # Log output and export as Github environment variable + echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" + echo "[LOG] Image Version: $VERSION" + echo "version=$VERSION" >> $GITHUB_ENV + echo "[LOG] Major Image Version: $MAJORVERSION" + echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV + echo "[LOG] Buildnumber/Timestamp: $DATI" + echo "dati=$DATI" >> $GITHUB_ENV + # Set values in iobroker_startup.sh + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh + # Set values in Dockerfile + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@v3.6.1 + + - name: Login to DockerHub (iobroker) + uses: docker/login-action@v3.3.0 + with: + username: ${{ secrets.DOCKER_USER_IOB }} + password: ${{ secrets.DOCKER_PASS_IOB }} + + - name: Build and push Docker image + uses: docker/build-push-action@v6.6.1 + with: + context: ./debian12 + file: ./debian12/Dockerfile + push: true + platforms: linux/amd64 + tags: iobroker/iobroker:${{ env.version }}-amd64 + + create-multiarch-image-for-iobroker: + runs-on: ubuntu-latest + needs: [build-latest-armv7-for-iobroker, build-latest-arm64v8-for-iobroker, build-latest-amd64-for-iobroker] + steps: + - name: Fetch latest release tag + run: | + LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" + echo "Latest release tag : $LATESTRELEASE" + echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV + + - name: Checkout repo + uses: actions/checkout@v4.1.7 + with: + repository: 'buanet/ioBroker.docker' + ref: ${{ env.RELEASE_TAG }} + + - name: Set job variables + run: | + VERSION="$(cat .VERSION)" + MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" + DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + # Log output and export as Github environment variable + echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" + echo "[LOG] Image Version: $VERSION" + echo "version=$VERSION" >> $GITHUB_ENV + echo "[LOG] Major Image Version: $MAJORVERSION" + echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV + echo "[LOG] Buildnumber/Timestamp: $DATI" + echo "dati=$DATI" >> $GITHUB_ENV + # Set values in iobroker_startup.sh + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh + # Set values in Dockerfile + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile + + - name: Login to DockerHub (iobroker) + uses: docker/login-action@v3.3.0 + with: + username: ${{ secrets.DOCKER_USER_IOB }} + password: ${{ secrets.DOCKER_PASS_IOB }} + + - name: Create and push multi-platform image + run: | + docker buildx imagetools create -t iobroker/iobroker:latest iobroker/iobroker:${{ env.version }}-armv7 iobroker/iobroker:${{ env.version }}-arm64v8 iobroker/iobroker:${{ env.version }}-amd64 + docker buildx imagetools create -t iobroker/iobroker:${{ env.majorversion }} iobroker/iobroker:${{ env.version }}-armv7 iobroker/iobroker:${{ env.version }}-arm64v8 iobroker/iobroker:${{ env.version }}-amd64 + docker buildx imagetools create -t iobroker/iobroker:${{ env.version }} iobroker/iobroker:${{ env.version }}-armv7 iobroker/iobroker:${{ env.version }}-arm64v8 iobroker/iobroker:${{ env.version }}-amd64 From 372f82dca25accfd028128de179bc2c776ff2fcb Mon Sep 17 00:00:00 2001 From: buanet Date: Sun, 24 Nov 2024 23:50:45 +0100 Subject: [PATCH 10/74] update version check --- .github/workflows/build-debian12-latest_sep.yml | 2 +- .github/workflows/{ => old}/build-debian12-latest.yml | 0 .github/workflows/{ => old}/build-debian12-latest_ext.yml | 0 .github/workflows/version-checks.yml | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{ => old}/build-debian12-latest.yml (100%) rename .github/workflows/{ => old}/build-debian12-latest_ext.yml (100%) diff --git a/.github/workflows/build-debian12-latest_sep.yml b/.github/workflows/build-debian12-latest_sep.yml index e99b14e..3183947 100644 --- a/.github/workflows/build-debian12-latest_sep.yml +++ b/.github/workflows/build-debian12-latest_sep.yml @@ -1,5 +1,5 @@ # Github action to build Debian12 image (Tag: latest) -name: Build Debian 12 Image new (latest) +name: Build Debian 12 Image (latest) on: release: diff --git a/.github/workflows/build-debian12-latest.yml b/.github/workflows/old/build-debian12-latest.yml similarity index 100% rename from .github/workflows/build-debian12-latest.yml rename to .github/workflows/old/build-debian12-latest.yml diff --git a/.github/workflows/build-debian12-latest_ext.yml b/.github/workflows/old/build-debian12-latest_ext.yml similarity index 100% rename from .github/workflows/build-debian12-latest_ext.yml rename to .github/workflows/old/build-debian12-latest_ext.yml diff --git a/.github/workflows/version-checks.yml b/.github/workflows/version-checks.yml index 19fa8c9..52609ca 100644 --- a/.github/workflows/version-checks.yml +++ b/.github/workflows/version-checks.yml @@ -64,6 +64,6 @@ jobs: uses: benc-uk/workflow-dispatch@v1.2 with: ref: 'main' - workflow: 'iob.docker - Build Debian 12 Image (latest)' - repo: 'buanet/private.actionsrunner' + workflow: 'Build Debian 12 Image (latest)' + repo: 'buanet/iobroker.docker' token: ${{ secrets.ACTIONS_PAT }} From 96fe93d81960f7bcb12f59f0124929dc741cc1ab Mon Sep 17 00:00:00 2001 From: buanet Date: Sun, 24 Nov 2024 23:56:14 +0100 Subject: [PATCH 11/74] update hub readme --- docs/README_docker_hub_buanet.md | 2 +- docs/README_docker_hub_iobroker.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README_docker_hub_buanet.md b/docs/README_docker_hub_buanet.md index be78c60..e7eea8d 100644 --- a/docs/README_docker_hub_buanet.md +++ b/docs/README_docker_hub_buanet.md @@ -2,7 +2,7 @@ [![Release](https://img.shields.io/github/v/release/buanet/ioBroker.docker?style=flat)](https://github.com/buanet/ioBroker.docker/releases) [![Pre-Release)](https://img.shields.io/github/v/tag/buanet/ioBroker.docker?include_prereleases&label=pre-release)](https://github.com/buanet/ioBroker.docker/releases) -[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/buanet/ioBroker.docker/build-debian12-latest.yml?branch=main)](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian12-latest.yml) +[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/buanet/ioBroker.docker/build-debian12-latest_sep.yml?branch=main)](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian12-latest_sep.yml) [![Github Issues](https://img.shields.io/github/issues/buanet/ioBroker.docker?style=flat)](https://github.com/buanet/ioBroker.docker/issues) [![Github Pull Requests](https://img.shields.io/github/issues-pr/buanet/ioBroker.docker?style=flat)](https://github.com/buanet/ioBroker.docker/pulls) [![GitHub Discussions](https://img.shields.io/github/discussions/buanet/ioBroker.docker)](https://github.com/buanet/ioBroker.docker/discussions)
diff --git a/docs/README_docker_hub_iobroker.md b/docs/README_docker_hub_iobroker.md index 3e64a19..78f94d9 100644 --- a/docs/README_docker_hub_iobroker.md +++ b/docs/README_docker_hub_iobroker.md @@ -4,7 +4,7 @@ [![Release](https://img.shields.io/github/v/release/buanet/ioBroker.docker?style=flat)](https://github.com/buanet/ioBroker.docker/releases) [![Pre-Release)](https://img.shields.io/github/v/tag/buanet/ioBroker.docker?include_prereleases&label=pre-release)](https://github.com/buanet/ioBroker.docker/releases) -[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/buanet/ioBroker.docker/build-debian12-latest.yml?branch=main)](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian12-latest.yml) +[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/buanet/ioBroker.docker/build-debian12-latest_sep.yml?branch=main)](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian12-latest_sep.yml) [![Github Issues](https://img.shields.io/github/issues/buanet/ioBroker.docker?style=flat)](https://github.com/buanet/ioBroker.docker/issues) [![Github Pull Requests](https://img.shields.io/github/issues-pr/buanet/ioBroker.docker?style=flat)](https://github.com/buanet/ioBroker.docker/pulls) [![GitHub Discussions](https://img.shields.io/github/discussions/buanet/ioBroker.docker)](https://github.com/buanet/ioBroker.docker/discussions)
From 78c97411f0d01e282a93af4bf299486dde901f77 Mon Sep 17 00:00:00 2001 From: buanet Date: Mon, 25 Nov 2024 10:12:39 +0100 Subject: [PATCH 12/74] update readme --- .github/workflows/{ => old}/build-debian12-beta_ext.yml | 0 README.md | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{ => old}/build-debian12-beta_ext.yml (100%) diff --git a/.github/workflows/build-debian12-beta_ext.yml b/.github/workflows/old/build-debian12-beta_ext.yml similarity index 100% rename from .github/workflows/build-debian12-beta_ext.yml rename to .github/workflows/old/build-debian12-beta_ext.yml diff --git a/README.md b/README.md index c52e390..1a17a9c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Release](https://img.shields.io/github/v/release/buanet/ioBroker.docker?style=flat)](https://github.com/buanet/ioBroker.docker/releases) [![Pre-Release)](https://img.shields.io/github/v/tag/buanet/ioBroker.docker?include_prereleases&label=pre-release)](https://github.com/buanet/ioBroker.docker/releases) -[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/buanet/ioBroker.docker/build-debian12-latest.yml?branch=main)](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian12-latest.yml) +[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/buanet/ioBroker.docker/build-debian12-latest_sep.yml?branch=main)](https://github.com/buanet/ioBroker.docker/actions/workflows/build-debian12-latest_sep.yml) [![Github Issues](https://img.shields.io/github/issues/buanet/ioBroker.docker?style=flat)](https://github.com/buanet/ioBroker.docker/issues) [![Github Pull Requests](https://img.shields.io/github/issues-pr/buanet/ioBroker.docker?style=flat)](https://github.com/buanet/ioBroker.docker/pulls) [![GitHub Discussions](https://img.shields.io/github/discussions/buanet/ioBroker.docker)](https://github.com/buanet/ioBroker.docker/discussions)
From f9440d7c779b3882de948ef6f2cf6325587d6172 Mon Sep 17 00:00:00 2001 From: buanet Date: Mon, 25 Nov 2024 22:39:52 +0100 Subject: [PATCH 13/74] test buildnumber --- .github/dependencies/.latest-build | 1 + .github/workflows/test-buildnumber.yml | 27 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/dependencies/.latest-build create mode 100644 .github/workflows/test-buildnumber.yml diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build new file mode 100644 index 0000000..ac8522f --- /dev/null +++ b/.github/dependencies/.latest-build @@ -0,0 +1 @@ +xxx \ No newline at end of file diff --git a/.github/workflows/test-buildnumber.yml b/.github/workflows/test-buildnumber.yml new file mode 100644 index 0000000..b0ba4d6 --- /dev/null +++ b/.github/workflows/test-buildnumber.yml @@ -0,0 +1,27 @@ +name: Buildnumber test + +on: + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4.1.7 + with: + repository: 'buanet/ioBroker.docker' + token: ${{ secrets.ACTIONS_PAT }} + + - name: Write build number + run: | + BUILD="$(date +"%Y%m%d.%H%M%S")" + echo "$BUILD" > .github/dependencies/.latest-build + echo "[LOG] Buildnumber: $BUILD" + + - name: Commit latest release version + run: | + git config --global user.name 'buanet' + git config --global user.email 'info@buanet.de' + git commit -am "new build" + git push \ No newline at end of file From ddc1b2e93fa74e1ab45639346c31f1c9b8b9a81f Mon Sep 17 00:00:00 2001 From: buanet Date: Mon, 25 Nov 2024 21:40:31 +0000 Subject: [PATCH 14/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index ac8522f..93aafc9 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -xxx \ No newline at end of file +20241125.214031 From 29e1662fc1cc3bc75b7db373b25cfe6e58b69be0 Mon Sep 17 00:00:00 2001 From: buanet Date: Mon, 25 Nov 2024 23:28:47 +0100 Subject: [PATCH 15/74] add build tag --- .../workflows/build-debian12-latest_sep.yml | 156 ++++++++++-------- debian12/Dockerfile | 2 +- 2 files changed, 91 insertions(+), 67 deletions(-) diff --git a/.github/workflows/build-debian12-latest_sep.yml b/.github/workflows/build-debian12-latest_sep.yml index 3183947..d0b2374 100644 --- a/.github/workflows/build-debian12-latest_sep.yml +++ b/.github/workflows/build-debian12-latest_sep.yml @@ -7,8 +7,35 @@ on: workflow_dispatch: jobs: + create-build-number: + runs-on: ubuntu-latest + outputs: + build_number: ${{ steps.generate-build-number.outputs.build_number }} + steps: + - name: Checkout repo + uses: actions/checkout@v4.1.7 + with: + repository: 'buanet/ioBroker.docker' + token: ${{ secrets.ACTIONS_PAT }} + + - name: Generate build number + id: generate-build-number + run: | + BUILD="$(date +"%Y%m%d.%H%M%S")" + echo "$BUILD" > .github/dependencies/.latest-build + echo "::set-output name=build_number::$BUILD" + echo "[LOG] Buildnumber: $BUILD" + + - name: Commit latest release version + run: | + git config --global user.name 'buanet' + git config --global user.email 'info@buanet.de' + git commit -am "new build" + git push + build-latest-armv7-for-buanet: name: Build latest armv7 image for buanet + needs: [create-build-number] runs-on: ubuntu-latest steps: - name: Fetch latest release tag @@ -27,20 +54,20 @@ jobs: run: | VERSION="$(cat .VERSION)" MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" - DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + BUILD="${{ needs.create-build-number.outputs.build_number }}" # Log output and export as Github environment variable echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" echo "[LOG] Image Version: $VERSION" echo "version=$VERSION" >> $GITHUB_ENV echo "[LOG] Major Image Version: $MAJORVERSION" echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV - echo "[LOG] Buildnumber/Timestamp: $DATI" - echo "dati=$DATI" >> $GITHUB_ENV + echo "[LOG] Buildnumber: $BUILD" + echo "build=$BUILD" >> $GITHUB_ENV # Set values in iobroker_startup.sh - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$BUILD/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh # Set values in Dockerfile - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$BUILD/" -e "s/\${BUILD}/$BUILD/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile - name: Set up QEMU @@ -71,11 +98,12 @@ jobs: push: true platforms: linux/arm/v7 tags: | - buanet/iobroker:${{ env.version }}-armv7, - ghcr.io/buanet/iobroker:${{ env.version }}-armv7, + buanet/iobroker:${{ env.version }}-build.${{ env.build }}-armv7, + ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-armv7, build-latest-arm64v8-for-buanet: name: Build latest armv64v8 image for buanet + needs: [create-build-number] runs-on: ubuntu-latest steps: - name: Fetch latest release tag @@ -94,20 +122,20 @@ jobs: run: | VERSION="$(cat .VERSION)" MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" - DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + BUILD="${{ needs.create-build-number.outputs.build_number }}" # Log output and export as Github environment variable echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" echo "[LOG] Image Version: $VERSION" echo "version=$VERSION" >> $GITHUB_ENV echo "[LOG] Major Image Version: $MAJORVERSION" echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV - echo "[LOG] Buildnumber/Timestamp: $DATI" - echo "dati=$DATI" >> $GITHUB_ENV + echo "[LOG] Buildnumber: $BUILD" + echo "build=$BUILD" >> $GITHUB_ENV # Set values in iobroker_startup.sh - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$BUILD/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh # Set values in Dockerfile - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$BUILD/" -e "s/\${BUILD}/$BUILD/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile - name: Set up QEMU @@ -138,11 +166,12 @@ jobs: push: true platforms: linux/arm64/v8 tags: | - buanet/iobroker:${{ env.version }}-arm64v8, - ghcr.io/buanet/iobroker:${{ env.version }}-arm64v8, + buanet/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8, + ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8, build-latest-amd64-for-buanet: name: Build latest amd64 image for buanet + needs: [create-build-number] runs-on: ubuntu-latest steps: - name: Fetch latest release tag @@ -161,20 +190,20 @@ jobs: run: | VERSION="$(cat .VERSION)" MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" - DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + BUILD="${{ needs.create-build-number.outputs.build_number }}" # Log output and export as Github environment variable echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" echo "[LOG] Image Version: $VERSION" echo "version=$VERSION" >> $GITHUB_ENV echo "[LOG] Major Image Version: $MAJORVERSION" echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV - echo "[LOG] Buildnumber/Timestamp: $DATI" - echo "dati=$DATI" >> $GITHUB_ENV + echo "[LOG] Buildnumber: $BUILD" + echo "build=$BUILD" >> $GITHUB_ENV # Set values in iobroker_startup.sh - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$BUILD/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh # Set values in Dockerfile - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$BUILD/" -e "s/\${BUILD}/$BUILD/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile - name: Set up Docker Buildx @@ -202,8 +231,8 @@ jobs: push: true platforms: linux/amd64 tags: | - buanet/iobroker:${{ env.version }}-amd64, - ghcr.io/buanet/iobroker:${{ env.version }}-amd64, + buanet/iobroker:${{ env.version }}-build.${{ env.build }}-amd64, + ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-amd64, create-multiarch-image-for-buanet: runs-on: ubuntu-latest @@ -225,21 +254,16 @@ jobs: run: | VERSION="$(cat .VERSION)" MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" - DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + BUILD="${{ needs.create-build-number.outputs.build_number }}" # Log output and export as Github environment variable echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" echo "[LOG] Image Version: $VERSION" echo "version=$VERSION" >> $GITHUB_ENV echo "[LOG] Major Image Version: $MAJORVERSION" echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV - echo "[LOG] Buildnumber/Timestamp: $DATI" - echo "dati=$DATI" >> $GITHUB_ENV - # Set values in iobroker_startup.sh - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp - mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh - # Set values in Dockerfile - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp - mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile + echo "[LOG] Buildnumber: $BUILD" + echo "build=$BUILD" >> $GITHUB_ENV + - name: Login to DockerHub (buanet) uses: docker/login-action@v3.3.0 with: @@ -255,15 +279,18 @@ jobs: - name: Create and push multi-platform image run: | - docker buildx imagetools create -t buanet/iobroker:latest buanet/iobroker:${{ env.version }}-armv7 buanet/iobroker:${{ env.version }}-arm64v8 buanet/iobroker:${{ env.version }}-amd64 - docker buildx imagetools create -t ghcr.io/buanet/iobroker:latest ghcr.io/buanet/iobroker:${{ env.version }}-armv7 ghcr.io/buanet/iobroker:${{ env.version }}-arm64v8 ghcr.io/buanet/iobroker:${{ env.version }}-amd64 - docker buildx imagetools create -t buanet/iobroker:${{ env.majorversion }} buanet/iobroker:${{ env.version }}-armv7 buanet/iobroker:${{ env.version }}-arm64v8 buanet/iobroker:${{ env.version }}-amd64 - docker buildx imagetools create -t ghcr.io/buanet/iobroker:${{ env.majorversion }} ghcr.io/buanet/iobroker:${{ env.version }}-armv7 ghcr.io/buanet/iobroker:${{ env.version }}-arm64v8 ghcr.io/buanet/iobroker:${{ env.version }}-amd64 - docker buildx imagetools create -t buanet/iobroker:${{ env.version }} buanet/iobroker:${{ env.version }}-armv7 buanet/iobroker:${{ env.version }}-arm64v8 buanet/iobroker:${{ env.version }}-amd64 - docker buildx imagetools create -t ghcr.io/buanet/iobroker:${{ env.version }} ghcr.io/buanet/iobroker:${{ env.version }}-armv7 ghcr.io/buanet/iobroker:${{ env.version }}-arm64v8 ghcr.io/buanet/iobroker:${{ env.version }}-amd64 + docker buildx imagetools create -t buanet/iobroker:latest buanet/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 buanet/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 buanet/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 + docker buildx imagetools create -t ghcr.io/buanet/iobroker:latest ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 + docker buildx imagetools create -t buanet/iobroker:${{ env.majorversion }} buanet/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 buanet/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 buanet/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 + docker buildx imagetools create -t ghcr.io/buanet/iobroker:${{ env.majorversion }} ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 + docker buildx imagetools create -t buanet/iobroker:${{ env.version }} buanet/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 buanet/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 buanet/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 + docker buildx imagetools create -t ghcr.io/buanet/iobroker:${{ env.version }} ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 + docker buildx imagetools create -t buanet/iobroker:${{ env.version }}-build.${{ env.build }} buanet/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 buanet/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 buanet/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 + docker buildx imagetools create -t ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }} ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 ghcr.io/buanet/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 build-latest-armv7-for-iobroker: name: Build latest armv7 image for iobroker + needs: [create-build-number] runs-on: ubuntu-latest steps: - name: Fetch latest release tag @@ -282,20 +309,20 @@ jobs: run: | VERSION="$(cat .VERSION)" MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" - DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + BUILD="${{ needs.create-build-number.outputs.build_number }}" # Log output and export as Github environment variable echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" echo "[LOG] Image Version: $VERSION" echo "version=$VERSION" >> $GITHUB_ENV echo "[LOG] Major Image Version: $MAJORVERSION" echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV - echo "[LOG] Buildnumber/Timestamp: $DATI" - echo "dati=$DATI" >> $GITHUB_ENV + echo "[LOG] Buildnumber: $BUILD" + echo "build=$BUILD" >> $GITHUB_ENV # Set values in iobroker_startup.sh - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$BUILD/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh # Set values in Dockerfile - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$BUILD/" -e "s/\${BUILD}/$BUILD/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile - name: Set up QEMU @@ -318,10 +345,11 @@ jobs: file: ./debian12/Dockerfile push: true platforms: linux/arm/v7 - tags: iobroker/iobroker:${{ env.version }}-armv7 + tags: iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 build-latest-arm64v8-for-iobroker: name: Build latest armv64v8 image for iobroker + needs: [create-build-number] runs-on: ubuntu-latest steps: - name: Fetch latest release tag @@ -340,20 +368,20 @@ jobs: run: | VERSION="$(cat .VERSION)" MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" - DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + BUILD="${{ needs.create-build-number.outputs.build_number }}" # Log output and export as Github environment variable echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" echo "[LOG] Image Version: $VERSION" echo "version=$VERSION" >> $GITHUB_ENV echo "[LOG] Major Image Version: $MAJORVERSION" echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV - echo "[LOG] Buildnumber/Timestamp: $DATI" - echo "dati=$DATI" >> $GITHUB_ENV + echo "[LOG] Buildnumber: $BUILD" + echo "build=$BUILD" >> $GITHUB_ENV # Set values in iobroker_startup.sh - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$BUILD/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh # Set values in Dockerfile - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$BUILD/" -e "s/\${BUILD}/$BUILD/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile - name: Set up QEMU @@ -376,10 +404,11 @@ jobs: file: ./debian12/Dockerfile push: true platforms: linux/arm64/v8 - tags: iobroker/iobroker:${{ env.version }}-arm64v8 + tags: iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 build-latest-amd64-for-iobroker: name: Build latest amd64 image for iobroker + needs: [create-build-number] runs-on: ubuntu-latest steps: - name: Fetch latest release tag @@ -398,20 +427,20 @@ jobs: run: | VERSION="$(cat .VERSION)" MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" - DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + BUILD="${{ needs.create-build-number.outputs.build_number }}" # Log output and export as Github environment variable echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" echo "[LOG] Image Version: $VERSION" echo "version=$VERSION" >> $GITHUB_ENV echo "[LOG] Major Image Version: $MAJORVERSION" echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV - echo "[LOG] Buildnumber/Timestamp: $DATI" - echo "dati=$DATI" >> $GITHUB_ENV + echo "[LOG] Buildnumber: $BUILD" + echo "build=$BUILD" >> $GITHUB_ENV # Set values in iobroker_startup.sh - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$BUILD/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh # Set values in Dockerfile - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp + sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$BUILD/" -e "s/\${BUILD}/$BUILD/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile - name: Set up Docker Buildx @@ -431,7 +460,7 @@ jobs: file: ./debian12/Dockerfile push: true platforms: linux/amd64 - tags: iobroker/iobroker:${{ env.version }}-amd64 + tags: iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 create-multiarch-image-for-iobroker: runs-on: ubuntu-latest @@ -453,21 +482,15 @@ jobs: run: | VERSION="$(cat .VERSION)" MAJORVERSION="$(cat .VERSION | cut -c 1-3 | sed -r 's#^(.{0})#\1latest-#')" - DATI="$(date --rfc-3339=seconds | sed 's/ /T/')" + BUILD="${{ needs.create-build-number.outputs.build_number }}" # Log output and export as Github environment variable echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}" echo "[LOG] Image Version: $VERSION" echo "version=$VERSION" >> $GITHUB_ENV echo "[LOG] Major Image Version: $MAJORVERSION" echo "majorversion=$MAJORVERSION" >> $GITHUB_ENV - echo "[LOG] Buildnumber/Timestamp: $DATI" - echo "dati=$DATI" >> $GITHUB_ENV - # Set values in iobroker_startup.sh - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp - mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh - # Set values in Dockerfile - sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp - mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile + echo "[LOG] Buildnumber: $BUILD" + echo "build=$BUILD" >> $GITHUB_ENV - name: Login to DockerHub (iobroker) uses: docker/login-action@v3.3.0 @@ -477,6 +500,7 @@ jobs: - name: Create and push multi-platform image run: | - docker buildx imagetools create -t iobroker/iobroker:latest iobroker/iobroker:${{ env.version }}-armv7 iobroker/iobroker:${{ env.version }}-arm64v8 iobroker/iobroker:${{ env.version }}-amd64 - docker buildx imagetools create -t iobroker/iobroker:${{ env.majorversion }} iobroker/iobroker:${{ env.version }}-armv7 iobroker/iobroker:${{ env.version }}-arm64v8 iobroker/iobroker:${{ env.version }}-amd64 - docker buildx imagetools create -t iobroker/iobroker:${{ env.version }} iobroker/iobroker:${{ env.version }}-armv7 iobroker/iobroker:${{ env.version }}-arm64v8 iobroker/iobroker:${{ env.version }}-amd64 + docker buildx imagetools create -t iobroker/iobroker:latest iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 + docker buildx imagetools create -t iobroker/iobroker:${{ env.majorversion }} iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 + docker buildx imagetools create -t iobroker/iobroker:${{ env.version }} iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 + docker buildx imagetools create -t iobroker/iobroker:${{ env.version }}-build.${{ env.build }} iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-armv7 iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-arm64v8 iobroker/iobroker:${{ env.version }}-build.${{ env.build }}-amd64 diff --git a/debian12/Dockerfile b/debian12/Dockerfile index 03aa51c..be7f896 100644 --- a/debian12/Dockerfile +++ b/debian12/Dockerfile @@ -84,7 +84,7 @@ RUN apt-get update && apt-get upgrade -y \ && rm -rf /tmp/* /var/tmp/* /root/.cache/* /root/.npm/* /var/lib/apt/lists/* # Default environment variables -ENV BUILD="${DATI}" \ +ENV BUILD="${BUILD}" \ DEBIAN_FRONTEND="teletype" \ LANG="de_DE.UTF-8" \ LANGUAGE="de_DE:de" \ From 980b0b4d8a83b2a320e7856da3c6792ad2766828 Mon Sep 17 00:00:00 2001 From: buanet Date: Mon, 25 Nov 2024 22:30:24 +0000 Subject: [PATCH 16/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 93aafc9..8c90618 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241125.214031 +20241125.223024 From 4dcb25c7cae4937f5f2e327531f449f24d024ed1 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 26 Nov 2024 00:11:09 +0100 Subject: [PATCH 17/74] fix multiplatform image creation --- .github/workflows/build-debian12-latest_sep.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-debian12-latest_sep.yml b/.github/workflows/build-debian12-latest_sep.yml index d0b2374..3c3e2a3 100644 --- a/.github/workflows/build-debian12-latest_sep.yml +++ b/.github/workflows/build-debian12-latest_sep.yml @@ -236,7 +236,7 @@ jobs: create-multiarch-image-for-buanet: runs-on: ubuntu-latest - needs: [build-latest-armv7-for-buanet, build-latest-arm64v8-for-buanet, build-latest-amd64-for-buanet] + needs: [build-latest-armv7-for-buanet, build-latest-arm64v8-for-buanet, build-latest-amd64-for-buanet, create-build-number] steps: - name: Fetch latest release tag run: | @@ -464,7 +464,7 @@ jobs: create-multiarch-image-for-iobroker: runs-on: ubuntu-latest - needs: [build-latest-armv7-for-iobroker, build-latest-arm64v8-for-iobroker, build-latest-amd64-for-iobroker] + needs: [build-latest-armv7-for-iobroker, build-latest-arm64v8-for-iobroker, build-latest-amd64-for-iobroker, create-build-number] steps: - name: Fetch latest release tag run: | From cd461e3b1f7f26f01914c77eff45cb4ed36be138 Mon Sep 17 00:00:00 2001 From: buanet Date: Mon, 25 Nov 2024 23:12:04 +0000 Subject: [PATCH 18/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 8c90618..a55ca31 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241125.223024 +20241125.231204 From 10075ddd1264592631a199f1de20d3b444b27815 Mon Sep 17 00:00:00 2001 From: buanet Date: Mon, 25 Nov 2024 23:43:25 +0000 Subject: [PATCH 19/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index a55ca31..9b15fe1 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241125.231204 +20241125.234325 From adeec1699dbf4b201623b85a590a942b164ab566 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 26 Nov 2024 11:15:20 +0100 Subject: [PATCH 20/74] update docker image test --- .github/workflows/test-buildnumber.yml | 27 ---------------------- .github/workflows/testing-docker-image.yml | 4 ++-- 2 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 .github/workflows/test-buildnumber.yml diff --git a/.github/workflows/test-buildnumber.yml b/.github/workflows/test-buildnumber.yml deleted file mode 100644 index b0ba4d6..0000000 --- a/.github/workflows/test-buildnumber.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Buildnumber test - -on: - workflow_dispatch: - -jobs: - test: - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v4.1.7 - with: - repository: 'buanet/ioBroker.docker' - token: ${{ secrets.ACTIONS_PAT }} - - - name: Write build number - run: | - BUILD="$(date +"%Y%m%d.%H%M%S")" - echo "$BUILD" > .github/dependencies/.latest-build - echo "[LOG] Buildnumber: $BUILD" - - - name: Commit latest release version - run: | - git config --global user.name 'buanet' - git config --global user.email 'info@buanet.de' - git commit -am "new build" - git push \ No newline at end of file diff --git a/.github/workflows/testing-docker-image.yml b/.github/workflows/testing-docker-image.yml index aedbc57..fb612db 100644 --- a/.github/workflows/testing-docker-image.yml +++ b/.github/workflows/testing-docker-image.yml @@ -23,11 +23,11 @@ jobs: echo "[LOG] Done." echo ' ' echo "[LOG] Checking Web UI..." - curl --insecure http://127.0.0.1:8081 2> /dev/null | grep 'Admin' &> /dev/null || exit 1 + curl --insecure https://iobroker:8081 2> /dev/null | grep 'Admin' &> /dev/null || exit 1 echo "[LOG] Done." echo ' ' echo "[LOG] Output testrun.log:" cat testrun.log echo ' ' - echo "[LOG] Test sucesssful." + echo "[LOG] Test successful." echo ' ' From 25b893f84f1f92c6bce026d385f26480f2143670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Germann?= Date: Tue, 26 Nov 2024 11:27:04 +0100 Subject: [PATCH 21/74] Update testing-docker-image.yml --- .github/workflows/testing-docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing-docker-image.yml b/.github/workflows/testing-docker-image.yml index fb612db..7919369 100644 --- a/.github/workflows/testing-docker-image.yml +++ b/.github/workflows/testing-docker-image.yml @@ -23,7 +23,7 @@ jobs: echo "[LOG] Done." echo ' ' echo "[LOG] Checking Web UI..." - curl --insecure https://iobroker:8081 2> /dev/null | grep 'Admin' &> /dev/null || exit 1 + curl --insecure http://iobroker:8081 2> /dev/null | grep 'Admin' &> /dev/null || exit 1 echo "[LOG] Done." echo ' ' echo "[LOG] Output testrun.log:" From 5d40cae9413fa3946e6bbe3dd7592e622aadc828 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 26 Nov 2024 11:58:12 +0100 Subject: [PATCH 22/74] update container test --- .github/workflows/testing-docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing-docker-image.yml b/.github/workflows/testing-docker-image.yml index 7919369..9d10a0d 100644 --- a/.github/workflows/testing-docker-image.yml +++ b/.github/workflows/testing-docker-image.yml @@ -15,7 +15,7 @@ jobs: echo "[LOG] Done." echo ' ' echo "[LOG] Waiting for Startup Script..." - sleep 30 + sleep 60 echo "[LOG] Done." echo ' ' echo "[LOG] Writing Logs..." @@ -23,7 +23,7 @@ jobs: echo "[LOG] Done." echo ' ' echo "[LOG] Checking Web UI..." - curl --insecure http://iobroker:8081 2> /dev/null | grep 'Admin' &> /dev/null || exit 1 + docker exec iobroker curl -s http://localhost:8081 | grep -q 'Admin' || { echo "[LOG] Fehler: Web UI nicht erreichbar."; exit 1; } echo "[LOG] Done." echo ' ' echo "[LOG] Output testrun.log:" From 60e7dff55967d94b0fa7cd0060223009c38eeaf9 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 26 Nov 2024 11:58:58 +0100 Subject: [PATCH 23/74] update image test --- .github/workflows/testing-docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing-docker-image.yml b/.github/workflows/testing-docker-image.yml index 9d10a0d..13bc3af 100644 --- a/.github/workflows/testing-docker-image.yml +++ b/.github/workflows/testing-docker-image.yml @@ -11,7 +11,7 @@ jobs: - name: Testing with docker run run: | echo "[LOG] Starting ioBroker Container..." - docker run -d -p 8081:8081 --name iobroker -v iobrokerdata:/opt/iobroker buanet/iobroker:latest + docker run -d --name iobroker buanet/iobroker:latest echo "[LOG] Done." echo ' ' echo "[LOG] Waiting for Startup Script..." From 7ce89797fd12f458d3557676a948569adb146521 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 26 Nov 2024 23:43:37 +0000 Subject: [PATCH 24/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 9b15fe1..eea4b76 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241125.234325 +20241126.234337 From 44131ab8b55de8c3f28d2e777a54c1237313d590 Mon Sep 17 00:00:00 2001 From: buanet Date: Wed, 27 Nov 2024 23:43:29 +0000 Subject: [PATCH 25/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index eea4b76..2daf434 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241126.234337 +20241127.234329 From b06f29c33e4707df378b309e617b9a19461e304e Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 28 Nov 2024 23:43:11 +0000 Subject: [PATCH 26/74] new ioBroker versions --- .github/dependencies/.js-controller-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.js-controller-version b/.github/dependencies/.js-controller-version index b619a5b..a50da18 100644 --- a/.github/dependencies/.js-controller-version +++ b/.github/dependencies/.js-controller-version @@ -1 +1 @@ -6.0.11 +7.0.3 From 480293d372e057961ede0c4821233124cae7c03d Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 28 Nov 2024 23:43:20 +0000 Subject: [PATCH 27/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 2daf434..3f0bb62 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241127.234329 +20241128.234320 From 87ce008c769ce32eb5af67f52a20d600b8f5b99e Mon Sep 17 00:00:00 2001 From: buanet Date: Fri, 29 Nov 2024 23:43:23 +0000 Subject: [PATCH 28/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 3f0bb62..d02fc8b 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241128.234320 +20241129.234323 From 10650fc23fce79e099ab1c48fbc019638daacf43 Mon Sep 17 00:00:00 2001 From: buanet Date: Sat, 30 Nov 2024 23:43:46 +0000 Subject: [PATCH 29/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index d02fc8b..f3a6662 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241129.234323 +20241130.234346 From 9a4beb5aef0cbc6942a6ba63e406c38d564c028a Mon Sep 17 00:00:00 2001 From: buanet Date: Sun, 1 Dec 2024 23:43:28 +0000 Subject: [PATCH 30/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index f3a6662..22850b5 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241130.234346 +20241201.234328 From 6d6a379fc05f032bc2c56592242dd1ece2785b69 Mon Sep 17 00:00:00 2001 From: buanet Date: Mon, 2 Dec 2024 23:45:23 +0000 Subject: [PATCH 31/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 22850b5..7710887 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241201.234328 +20241202.234523 From 016d0ead53478ab3520ddb32f8cc2a4809a00112 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 3 Dec 2024 15:28:05 +0100 Subject: [PATCH 32/74] update version checker --- .github/workflows/version-checks.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/version-checks.yml b/.github/workflows/version-checks.yml index 52609ca..1fd9d4a 100644 --- a/.github/workflows/version-checks.yml +++ b/.github/workflows/version-checks.yml @@ -15,19 +15,12 @@ jobs: repository: 'buanet/ioBroker.docker' token: ${{ secrets.ACTIONS_PAT }} - - name: Get and write version - id: version - run: | - LATESTRELEASE="$(curl -sL https://api.github.com/repos/buanet/ioBroker.docker/releases/latest | jq -r '.tag_name')" - echo "iobroker=iobroker/iobroker:$LATESTRELEASE" >> $GITHUB_ENV - echo "baseimage=library/debian:bookworm-slim" >> $GITHUB_ENV - - name: Docker Baseimage Checker id: baseimage uses: mkumatag/container-image-updater-action@v1.0.6 with: - base-image: '${{ env.baseimage }}' - image: '${{ env.iobroker }}' + base-image: 'iobroker/iobroker:latest' + image: 'debian:bookworm-slim' - name: Fetch ioBroker and nodejs versions run: | From 340d8eceefb2ce9d4f964029cf6592972237d229 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 3 Dec 2024 14:29:07 +0000 Subject: [PATCH 33/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 7710887..a90fd97 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241202.234523 +20241203.142907 From 7252c8f5af6e740782f9926ef7821c4a8cb93236 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 3 Dec 2024 15:40:36 +0100 Subject: [PATCH 34/74] fix checker --- .github/workflows/version-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/version-checks.yml b/.github/workflows/version-checks.yml index 1fd9d4a..994f939 100644 --- a/.github/workflows/version-checks.yml +++ b/.github/workflows/version-checks.yml @@ -19,8 +19,8 @@ jobs: id: baseimage uses: mkumatag/container-image-updater-action@v1.0.6 with: - base-image: 'iobroker/iobroker:latest' - image: 'debian:bookworm-slim' + image: 'iobroker/iobroker:latest' + base-image: 'debian:bookworm-slim' - name: Fetch ioBroker and nodejs versions run: | From 2b86658af08d5d1ffac505cd9321cae40d7cf76b Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 3 Dec 2024 14:45:20 +0000 Subject: [PATCH 35/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index a90fd97..a1e7245 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241203.142907 +20241203.144520 From 431343b52e7cba4c09720bac358d72acfc5349bb Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 3 Dec 2024 15:54:41 +0100 Subject: [PATCH 36/74] testing checker --- .github/workflows/version-checks.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/version-checks.yml b/.github/workflows/version-checks.yml index 994f939..c8ddb57 100644 --- a/.github/workflows/version-checks.yml +++ b/.github/workflows/version-checks.yml @@ -19,7 +19,7 @@ jobs: id: baseimage uses: mkumatag/container-image-updater-action@v1.0.6 with: - image: 'iobroker/iobroker:latest' + image: 'buanet/iobroker:latest' base-image: 'debian:bookworm-slim' - name: Fetch ioBroker and nodejs versions @@ -52,11 +52,16 @@ jobs: git commit -am "new ioBroker versions" git push - - name: Trigger Build Debian 12 Image (latest) - if: steps.baseimage.outputs.needs-update == 'true' || steps.git-check.outputs.modified == 'true' - uses: benc-uk/workflow-dispatch@v1.2 - with: - ref: 'main' - workflow: 'Build Debian 12 Image (latest)' - repo: 'buanet/iobroker.docker' - token: ${{ secrets.ACTIONS_PAT }} + - name: Logging result + run: | + echo "base image updated = ${{ steps.baseimage.outputs.needs-update }}" + echo "ioBroker version updated = ${{ steps.git-check.outputs.modified }}" + +# - name: Trigger Build Debian 12 Image (latest) +# if: steps.baseimage.outputs.needs-update == 'true' || steps.git-check.outputs.modified == 'true' +# uses: benc-uk/workflow-dispatch@v1.2 +# with: +# ref: 'main' +# workflow: 'Build Debian 12 Image (latest)' +# repo: 'buanet/iobroker.docker' +# token: ${{ secrets.ACTIONS_PAT }} From 922f77279e2efc2ad89d2ac4756898995fb283ca Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 3 Dec 2024 16:05:27 +0100 Subject: [PATCH 37/74] update version checker --- .github/workflows/version-checks.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/version-checks.yml b/.github/workflows/version-checks.yml index c8ddb57..2ceca42 100644 --- a/.github/workflows/version-checks.yml +++ b/.github/workflows/version-checks.yml @@ -57,11 +57,11 @@ jobs: echo "base image updated = ${{ steps.baseimage.outputs.needs-update }}" echo "ioBroker version updated = ${{ steps.git-check.outputs.modified }}" -# - name: Trigger Build Debian 12 Image (latest) -# if: steps.baseimage.outputs.needs-update == 'true' || steps.git-check.outputs.modified == 'true' -# uses: benc-uk/workflow-dispatch@v1.2 -# with: -# ref: 'main' -# workflow: 'Build Debian 12 Image (latest)' -# repo: 'buanet/iobroker.docker' -# token: ${{ secrets.ACTIONS_PAT }} + - name: Trigger Build Debian 12 Image (latest) + if: steps.baseimage.outputs.needs-update == 'true' || steps.git-check.outputs.modified == 'true' + uses: benc-uk/workflow-dispatch@v1.2 + with: + ref: 'main' + workflow: 'Build Debian 12 Image (latest)' + repo: 'buanet/iobroker.docker' + token: ${{ secrets.ACTIONS_PAT }} From b439a04f2e909df8e6e3e9e2451db8c3dafbae72 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 3 Dec 2024 15:08:15 +0000 Subject: [PATCH 38/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index a1e7245..2a0f37c 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241203.144520 +20241203.150815 From 81bea7f7a4401df6812f4b1aa98db6108e5df2d7 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 3 Dec 2024 23:43:29 +0000 Subject: [PATCH 39/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 2a0f37c..ebb5863 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241203.150815 +20241203.234329 From bbc88d4d5c70e17a12cfc663bd31a51cbe02edb0 Mon Sep 17 00:00:00 2001 From: buanet Date: Wed, 4 Dec 2024 23:43:51 +0000 Subject: [PATCH 40/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index ebb5863..32e9651 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241203.234329 +20241204.234351 From bf9e30d1c0155920a3ed4eb55f008b85a1773cd3 Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 5 Dec 2024 23:43:36 +0000 Subject: [PATCH 41/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 32e9651..2d1f1c3 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241204.234351 +20241205.234336 From cd3510695e5e838500b2785a2874aa577d6cb549 Mon Sep 17 00:00:00 2001 From: buanet Date: Fri, 6 Dec 2024 07:40:07 +0100 Subject: [PATCH 42/74] trying another image checker --- .github/workflows/version-checks.yml | 35 +++++++++++++++++----------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/.github/workflows/version-checks.yml b/.github/workflows/version-checks.yml index 2ceca42..23856e4 100644 --- a/.github/workflows/version-checks.yml +++ b/.github/workflows/version-checks.yml @@ -15,12 +15,19 @@ jobs: repository: 'buanet/ioBroker.docker' token: ${{ secrets.ACTIONS_PAT }} - - name: Docker Baseimage Checker - id: baseimage - uses: mkumatag/container-image-updater-action@v1.0.6 + - name: Docker baseimage check + id: baseimage-check + uses: lucacome/docker-image-update-checker@v2.0.0 with: - image: 'buanet/iobroker:latest' - base-image: 'debian:bookworm-slim' + base-image: debian:bookworm-slim + image: buanet/iobroker:latest + +# - name: Docker Baseimage Checker +# id: baseimage +# uses: mkumatag/container-image-updater-action@v1.0.6 +# with: +# image: 'buanet/iobroker:latest' +# base-image: 'debian:bookworm-slim' - name: Fetch ioBroker and nodejs versions run: | @@ -54,14 +61,14 @@ jobs: - name: Logging result run: | - echo "base image updated = ${{ steps.baseimage.outputs.needs-update }}" + echo "base image updated = ${{ steps.baseimage-check.outputs.needs-updating }}" echo "ioBroker version updated = ${{ steps.git-check.outputs.modified }}" - - name: Trigger Build Debian 12 Image (latest) - if: steps.baseimage.outputs.needs-update == 'true' || steps.git-check.outputs.modified == 'true' - uses: benc-uk/workflow-dispatch@v1.2 - with: - ref: 'main' - workflow: 'Build Debian 12 Image (latest)' - repo: 'buanet/iobroker.docker' - token: ${{ secrets.ACTIONS_PAT }} +# - name: Trigger Build Debian 12 Image (latest) +# if: steps.baseimage-check.outputs.needs-updating == 'true' || steps.git-check.outputs.modified == 'true' +# uses: benc-uk/workflow-dispatch@v1.2 +# with: +# ref: 'main' +# workflow: 'Build Debian 12 Image (latest)' +# repo: 'buanet/iobroker.docker' +# token: ${{ secrets.ACTIONS_PAT }} From 79d857dcb8206dd5061f863d7b8256a6b446d5bb Mon Sep 17 00:00:00 2001 From: buanet Date: Fri, 6 Dec 2024 07:42:39 +0100 Subject: [PATCH 43/74] reactivate build trigger --- .github/workflows/version-checks.yml | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/version-checks.yml b/.github/workflows/version-checks.yml index 23856e4..8c757e8 100644 --- a/.github/workflows/version-checks.yml +++ b/.github/workflows/version-checks.yml @@ -22,13 +22,6 @@ jobs: base-image: debian:bookworm-slim image: buanet/iobroker:latest -# - name: Docker Baseimage Checker -# id: baseimage -# uses: mkumatag/container-image-updater-action@v1.0.6 -# with: -# image: 'buanet/iobroker:latest' -# base-image: 'debian:bookworm-slim' - - name: Fetch ioBroker and nodejs versions run: | curl -sL https://repo.iobroker.live/sources-dist.json | \ @@ -64,11 +57,11 @@ jobs: echo "base image updated = ${{ steps.baseimage-check.outputs.needs-updating }}" echo "ioBroker version updated = ${{ steps.git-check.outputs.modified }}" -# - name: Trigger Build Debian 12 Image (latest) -# if: steps.baseimage-check.outputs.needs-updating == 'true' || steps.git-check.outputs.modified == 'true' -# uses: benc-uk/workflow-dispatch@v1.2 -# with: -# ref: 'main' -# workflow: 'Build Debian 12 Image (latest)' -# repo: 'buanet/iobroker.docker' -# token: ${{ secrets.ACTIONS_PAT }} + - name: Trigger Build Debian 12 Image (latest) + if: steps.baseimage-check.outputs.needs-updating == 'true' || steps.git-check.outputs.modified == 'true' + uses: benc-uk/workflow-dispatch@v1.2 + with: + ref: 'main' + workflow: 'Build Debian 12 Image (latest)' + repo: 'buanet/iobroker.docker' + token: ${{ secrets.ACTIONS_PAT }} From ecb8cb2ed6ff494ef8f5553948be80b90ec7a7f8 Mon Sep 17 00:00:00 2001 From: buanet Date: Wed, 25 Dec 2024 23:43:08 +0000 Subject: [PATCH 44/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 2d1f1c3..69a4fe0 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241205.234336 +20241225.234308 From 7c92f39b86c1692af7467b57dc3149e6ce36261e Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 26 Dec 2024 23:43:10 +0000 Subject: [PATCH 45/74] new ioBroker versions --- .github/dependencies/.js-controller-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.js-controller-version b/.github/dependencies/.js-controller-version index a50da18..024b4b9 100644 --- a/.github/dependencies/.js-controller-version +++ b/.github/dependencies/.js-controller-version @@ -1 +1 @@ -7.0.3 +7.0.6 From 06ec9412039636aa42c2d59071a0eae7b677627f Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 26 Dec 2024 23:43:19 +0000 Subject: [PATCH 46/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 69a4fe0..fa3ecd0 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241225.234308 +20241226.234319 From f86f1c5941634dd3d226c470f6048de2e792ec24 Mon Sep 17 00:00:00 2001 From: buanet Date: Wed, 8 Jan 2025 23:42:50 +0000 Subject: [PATCH 47/74] new ioBroker versions --- .github/dependencies/.admin-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.admin-version b/.github/dependencies/.admin-version index 69adf34..ef13716 100644 --- a/.github/dependencies/.admin-version +++ b/.github/dependencies/.admin-version @@ -1 +1 @@ -7.1.5 +7.4.10 From c146cdce4d64e934cb6197dcde10f7a18a0b7a24 Mon Sep 17 00:00:00 2001 From: buanet Date: Wed, 8 Jan 2025 23:43:00 +0000 Subject: [PATCH 48/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index fa3ecd0..ea574d0 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20241226.234319 +20250108.234300 From 3b53e6a29080ccc7869b87d29544424ceab34332 Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 9 Jan 2025 23:43:06 +0000 Subject: [PATCH 49/74] new ioBroker versions --- .github/dependencies/.backitup-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.backitup-version b/.github/dependencies/.backitup-version index de2e889..f26c70e 100644 --- a/.github/dependencies/.backitup-version +++ b/.github/dependencies/.backitup-version @@ -1 +1 @@ -3.0.25 +3.0.31 From ab54eaf7f9aae5e5cd942cc8a24030f3514a0528 Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 9 Jan 2025 23:43:17 +0000 Subject: [PATCH 50/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index ea574d0..3c9f098 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250108.234300 +20250109.234317 From 51f33f02e0d9c7c8805c389569d1c78eed9661c3 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 14 Jan 2025 23:43:27 +0000 Subject: [PATCH 51/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 3c9f098..a8eb930 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250109.234317 +20250114.234327 From d5acf336504ec2d26f3326cc363c6b99c1d479fd Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 21 Jan 2025 23:43:04 +0000 Subject: [PATCH 52/74] new ioBroker versions --- .github/dependencies/.nodejs-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.nodejs-version b/.github/dependencies/.nodejs-version index 93d866f..c8b1741 100644 --- a/.github/dependencies/.nodejs-version +++ b/.github/dependencies/.nodejs-version @@ -1 +1 @@ -v18.20.5 +v18.20.6 From 95dc626a0213be06fae847822adccfbeecb4fc94 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 21 Jan 2025 23:43:12 +0000 Subject: [PATCH 53/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index a8eb930..990d3e5 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250114.234327 +20250121.234312 From 21e66aedff01cd919ef74d513121feca5ba9ac93 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 4 Feb 2025 23:43:18 +0000 Subject: [PATCH 54/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 990d3e5..d190ecc 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250121.234312 +20250204.234318 From adeb8fa3ff50f43ef356eee9490ccabfe05a6b5b Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 20 Feb 2025 23:43:03 +0000 Subject: [PATCH 55/74] new ioBroker versions --- .github/dependencies/.nodejs-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.nodejs-version b/.github/dependencies/.nodejs-version index c8b1741..216afcc 100644 --- a/.github/dependencies/.nodejs-version +++ b/.github/dependencies/.nodejs-version @@ -1 +1 @@ -v18.20.6 +v18.20.7 From 960d5249d92defb2c449a4729f68c2bb636cc0a6 Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 20 Feb 2025 23:43:14 +0000 Subject: [PATCH 56/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index d190ecc..68d822d 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250204.234318 +20250220.234314 From e9f12ceaab4f4fa7931c3ff2945a4eb94bebc346 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 25 Feb 2025 23:43:18 +0000 Subject: [PATCH 57/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 68d822d..4bf66c7 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250220.234314 +20250225.234318 From ebb0b7b046be2a724a8215be9425b49ce425fb0a Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 18 Mar 2025 23:43:11 +0000 Subject: [PATCH 58/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 4bf66c7..fc3b578 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250225.234318 +20250318.234311 From 866e9a491319079024afd241c3222cf3d362355c Mon Sep 17 00:00:00 2001 From: buanet Date: Mon, 24 Mar 2025 23:42:50 +0000 Subject: [PATCH 59/74] new ioBroker versions --- .github/dependencies/.admin-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.admin-version b/.github/dependencies/.admin-version index ef13716..f3b8d5c 100644 --- a/.github/dependencies/.admin-version +++ b/.github/dependencies/.admin-version @@ -1 +1 @@ -7.4.10 +7.6.3 From 822045a4ae766acc2988df640d413211c775bb5f Mon Sep 17 00:00:00 2001 From: buanet Date: Mon, 24 Mar 2025 23:42:59 +0000 Subject: [PATCH 60/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index fc3b578..eaf3776 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250318.234311 +20250324.234259 From 5835247059152bc73cbb23947434d6b449dcbe20 Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 27 Mar 2025 23:43:50 +0000 Subject: [PATCH 61/74] new ioBroker versions --- .github/dependencies/.nodejs-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.nodejs-version b/.github/dependencies/.nodejs-version index 216afcc..c3f7c27 100644 --- a/.github/dependencies/.nodejs-version +++ b/.github/dependencies/.nodejs-version @@ -1 +1 @@ -v18.20.7 +v18.20.8 From 1d25a7ee2fd08af33fa14993c96e135e25c9b914 Mon Sep 17 00:00:00 2001 From: buanet Date: Thu, 27 Mar 2025 23:43:57 +0000 Subject: [PATCH 62/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index eaf3776..cacf03f 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250324.234259 +20250327.234357 From f6574bc8ad7d745cea6dc9ca7172c1e914e6a928 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 8 Apr 2025 23:43:18 +0000 Subject: [PATCH 63/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index cacf03f..666439b 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250327.234357 +20250408.234318 From e515245228b00b66c4b781ba7598dd7f30b34cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Germann?= Date: Fri, 18 Apr 2025 13:15:52 +0200 Subject: [PATCH 64/74] updated nodejs version in check --- .github/workflows/version-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version-checks.yml b/.github/workflows/version-checks.yml index 8c757e8..358538f 100644 --- a/.github/workflows/version-checks.yml +++ b/.github/workflows/version-checks.yml @@ -37,7 +37,7 @@ jobs: jq -r '."discovery".version' > .github/dependencies/.discovery-version echo "[LOG] Fetched discovery version is $(cat .github/dependencies/.discovery-version)" curl -sL https://nodejs.org/dist/index.json | \ - jq -r 'map(select(.version | startswith("v18."))) | .[0].version' > .github/dependencies/.nodejs-version + jq -r 'map(select(.version | startswith("v20."))) | .[0].version' > .github/dependencies/.nodejs-version echo "[LOG] Fetched nodejs version is $(cat .github/dependencies/.nodejs-version)" - name: Check for modified files From 3c935e563707176eba3ecb83e165c4c137d2a0f7 Mon Sep 17 00:00:00 2001 From: buanet Date: Fri, 18 Apr 2025 11:16:22 +0000 Subject: [PATCH 65/74] new ioBroker versions --- .github/dependencies/.nodejs-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.nodejs-version b/.github/dependencies/.nodejs-version index c3f7c27..5f53e87 100644 --- a/.github/dependencies/.nodejs-version +++ b/.github/dependencies/.nodejs-version @@ -1 +1 @@ -v18.20.8 +v20.19.0 From e75696041eacd42ad42f60ef22c52ceb731c8e97 Mon Sep 17 00:00:00 2001 From: buanet Date: Fri, 18 Apr 2025 11:16:31 +0000 Subject: [PATCH 66/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 666439b..b3eaff7 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250408.234318 +20250418.111630 From 74dcd9b0f3fdaedd49b2821051775a77a85946dc Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 22 Apr 2025 23:43:47 +0000 Subject: [PATCH 67/74] new ioBroker versions --- .github/dependencies/.nodejs-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.nodejs-version b/.github/dependencies/.nodejs-version index 5f53e87..f62f0b2 100644 --- a/.github/dependencies/.nodejs-version +++ b/.github/dependencies/.nodejs-version @@ -1 +1 @@ -v20.19.0 +v20.19.1 From e9c10640285d2410ba32342c0eaccf90a46f4b96 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 22 Apr 2025 23:43:55 +0000 Subject: [PATCH 68/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index b3eaff7..7c3cdd5 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250418.111630 +20250422.234355 From 2ec8bf6c0b8e097d896f973e7b34dd04ef842e11 Mon Sep 17 00:00:00 2001 From: buanet Date: Tue, 29 Apr 2025 23:43:38 +0000 Subject: [PATCH 69/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 7c3cdd5..9f3414a 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250422.234355 +20250429.234338 From b7bb47c84a6883b55605660ff409294719d75db6 Mon Sep 17 00:00:00 2001 From: buanet Date: Wed, 30 Apr 2025 23:43:46 +0000 Subject: [PATCH 70/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 9f3414a..806c49d 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250429.234338 +20250430.234346 From 318e41d84c0dddc2eee90a7ff157f53af49e49c4 Mon Sep 17 00:00:00 2001 From: Marc-Berg Date: Tue, 6 May 2025 11:29:49 +0200 Subject: [PATCH 71/74] Changed the description on Docker Hub --- .github/workflows/update-docker-readme.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-docker-readme.yml b/.github/workflows/update-docker-readme.yml index f415248..3f846eb 100644 --- a/.github/workflows/update-docker-readme.yml +++ b/.github/workflows/update-docker-readme.yml @@ -20,7 +20,7 @@ jobs: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASS }} repository: buanet/iobroker - short-description: Official Docker image for ioBroker based on Debian Bullseye slim + short-description: Official Docker image for ioBroker based on Debian Bookworm slim readme-filepath: ./docs/README_docker_hub_buanet.md - name: Update Docker Hub Readme (iobroker) @@ -29,5 +29,5 @@ jobs: username: ${{ secrets.DOCKER_USER_IOB }} password: ${{ secrets.DOCKER_PASS_IOB }} repository: iobroker/iobroker - short-description: Official Docker image for ioBroker based on Debian Bullseye slim + short-description: Official Docker image for ioBroker based on Debian Bookworm slim readme-filepath: ./docs/README_docker_hub_iobroker.md \ No newline at end of file From 93ce694e1fe192fb4ecbb7194f7c75c193811e9f Mon Sep 17 00:00:00 2001 From: buanet Date: Wed, 14 May 2025 23:44:37 +0000 Subject: [PATCH 72/74] new ioBroker versions --- .github/dependencies/.nodejs-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.nodejs-version b/.github/dependencies/.nodejs-version index f62f0b2..1d898f1 100644 --- a/.github/dependencies/.nodejs-version +++ b/.github/dependencies/.nodejs-version @@ -1 +1 @@ -v20.19.1 +v20.19.2 From d9273c5a08e23b3681cddcc817fc6a2b066aadaf Mon Sep 17 00:00:00 2001 From: buanet Date: Wed, 14 May 2025 23:44:47 +0000 Subject: [PATCH 73/74] new build --- .github/dependencies/.latest-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependencies/.latest-build b/.github/dependencies/.latest-build index 806c49d..e2fd72b 100644 --- a/.github/dependencies/.latest-build +++ b/.github/dependencies/.latest-build @@ -1 +1 @@ -20250430.234346 +20250514.234447 From 98559888d451b0ef16d876b97092033176dbc9aa Mon Sep 17 00:00:00 2001 From: Marc-Berg Date: Fri, 16 May 2025 13:05:17 +0200 Subject: [PATCH 74/74] Sorted list of backup files --- debian12/scripts/maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian12/scripts/maintenance.sh b/debian12/scripts/maintenance.sh index b4815db..9fd0344 100644 --- a/debian12/scripts/maintenance.sh +++ b/debian12/scripts/maintenance.sh @@ -245,7 +245,7 @@ restore_iobroker() { # list backup files backup_dir="/opt/iobroker/backups" - backup_files=($(find $backup_dir -type f)) + backup_files=($(find $backup_dir -type f | sort)) backup_count=${#backup_files[@]} if [[ $backup_count -eq 0 ]]; then