mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-18 19:09:02 +02:00
Compare commits
11 Commits
v10.0.0-be
...
v9.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7249d9e585 | ||
|
|
b7465c5665 | ||
|
|
74e3789edd | ||
|
|
2b3421bb7a | ||
|
|
7f6bc5052f | ||
|
|
89cd94b0b8 | ||
|
|
5c2a6e42dd | ||
|
|
649fd1e300 | ||
|
|
21b82c4053 | ||
|
|
7f66aad03f | ||
|
|
75e77d51e4 |
2
.github/dependencies/.admin-version
vendored
2
.github/dependencies/.admin-version
vendored
@@ -1 +1 @@
|
|||||||
6.12.0
|
6.13.16
|
||||||
|
|||||||
2
.github/dependencies/.backitup-version
vendored
2
.github/dependencies/.backitup-version
vendored
@@ -1 +1 @@
|
|||||||
2.9.8
|
2.10.11
|
||||||
|
|||||||
2
.github/dependencies/.discovery-version
vendored
2
.github/dependencies/.discovery-version
vendored
@@ -1 +1 @@
|
|||||||
4.2.0
|
4.4.0
|
||||||
|
|||||||
2
.github/dependencies/.js-controller-version
vendored
2
.github/dependencies/.js-controller-version
vendored
@@ -1 +1 @@
|
|||||||
5.0.17
|
5.0.19
|
||||||
|
|||||||
2
.github/dependencies/.nodejs-version
vendored
2
.github/dependencies/.nodejs-version
vendored
@@ -1 +1 @@
|
|||||||
18.17.1
|
v18.20.1
|
||||||
|
|||||||
40
.github/workflows/build-debian12-beta.yml
vendored
40
.github/workflows/build-debian12-beta.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.2
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
ref: ${{ env.RELEASE_TAG }}
|
ref: ${{ env.RELEASE_TAG }}
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
||||||
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
||||||
# Log output and export as Github environment variable
|
# Log output and export as Github environment variable
|
||||||
echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION_BETA }}"
|
echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}"
|
||||||
echo "[LOG] Image Version: $VERSION"
|
echo "[LOG] Image Version: $VERSION"
|
||||||
echo "version=$VERSION" >> $GITHUB_ENV
|
echo "version=$VERSION" >> $GITHUB_ENV
|
||||||
echo "[LOG] Major Image Version: $MAJORVERSION"
|
echo "[LOG] Major Image Version: $MAJORVERSION"
|
||||||
@@ -46,31 +46,31 @@ jobs:
|
|||||||
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}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp
|
||||||
mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh
|
mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh
|
||||||
# Set values in Dockerfile
|
# Set values in Dockerfile
|
||||||
sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION_BETA }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
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
|
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3.1.0
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3.4.0
|
uses: docker/setup-buildx-action@v3.2.0
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_PASS }}
|
password: ${{ secrets.DOCKER_PASS }}
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.PACKAGES_USER }}
|
username: ${{ secrets.PACKAGES_USER }}
|
||||||
password: ${{ secrets.PACKAGES_PASS }}
|
password: ${{ secrets.PACKAGES_PASS }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6.3.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
context: ./debian12
|
context: ./debian12
|
||||||
file: ./debian12/Dockerfile
|
file: ./debian12/Dockerfile
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.2
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
ref: ${{ env.RELEASE_TAG }}
|
ref: ${{ env.RELEASE_TAG }}
|
||||||
@@ -107,7 +107,7 @@ jobs:
|
|||||||
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
||||||
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
||||||
# Log output and export as Github environment variable
|
# Log output and export as Github environment variable
|
||||||
echo "[LOG] Nodejs Version: ${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}"
|
echo "[LOG] Nodejs Version: ${{ vars.EXPERIMENTAL_NODE_VERSION }}"
|
||||||
echo "[LOG] Image Version: $VERSION"
|
echo "[LOG] Image Version: $VERSION"
|
||||||
echo "version=$VERSION" >> $GITHUB_ENV
|
echo "version=$VERSION" >> $GITHUB_ENV
|
||||||
echo "[LOG] Major Image Version: $MAJORVERSION"
|
echo "[LOG] Major Image Version: $MAJORVERSION"
|
||||||
@@ -118,31 +118,31 @@ jobs:
|
|||||||
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}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp
|
||||||
mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh
|
mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh
|
||||||
# Set values in Dockerfile
|
# Set values in Dockerfile
|
||||||
sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.EXPERIMENTAL_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3.1.0
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3.4.0
|
uses: docker/setup-buildx-action@v3.2.0
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_PASS }}
|
password: ${{ secrets.DOCKER_PASS }}
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.PACKAGES_USER }}
|
username: ${{ secrets.PACKAGES_USER }}
|
||||||
password: ${{ secrets.PACKAGES_PASS }}
|
password: ${{ secrets.PACKAGES_PASS }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6.3.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
context: ./debian12
|
context: ./debian12
|
||||||
file: ./debian12/Dockerfile
|
file: ./debian12/Dockerfile
|
||||||
@@ -152,9 +152,9 @@ jobs:
|
|||||||
linux/arm64/v8
|
linux/arm64/v8
|
||||||
linux/arm/v7
|
linux/arm/v7
|
||||||
tags: |
|
tags: |
|
||||||
buanet/iobroker:beta-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }},
|
buanet/iobroker:beta-node${{ vars.EXPERIMENTAL_NODE_VERSION }},
|
||||||
buanet/iobroker:${{ env.version }}-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }},
|
buanet/iobroker:${{ env.version }}-node${{ vars.EXPERIMENTAL_NODE_VERSION }},
|
||||||
ghcr.io/buanet/iobroker:beta-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }},
|
ghcr.io/buanet/iobroker:beta-node${{ vars.EXPERIMENTAL_NODE_VERSION }},
|
||||||
ghcr.io/buanet/iobroker:${{ env.version }}-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}
|
ghcr.io/buanet/iobroker:${{ env.version }}-node${{ vars.EXPERIMENTAL_NODE_VERSION }}
|
||||||
provenance: false
|
provenance: false
|
||||||
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net)
|
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Official Docker image for ioBroker smarthome software (https://www.iobroker.net)
|
||||||
|
|||||||
42
.github/workflows/build-debian12-beta_ext.yml
vendored
42
.github/workflows/build-debian12-beta_ext.yml
vendored
@@ -1,42 +0,0 @@
|
|||||||
# Github action to trigger external Debian12 image build (Tag: beta)
|
|
||||||
name: Trigger external Build (beta)
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [prereleased]
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
chose_node_version:
|
|
||||||
type: choice
|
|
||||||
description: 'Which Node version should be used?'
|
|
||||||
options:
|
|
||||||
- 'Recommended Node version (default)'
|
|
||||||
- 'Experimental Node version'
|
|
||||||
- 'Both Node versions'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
trigger_beta_build_on_release:
|
|
||||||
if: github.event_name == 'release'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Trigger beta build on release
|
|
||||||
uses: benc-uk/workflow-dispatch@v1.2
|
|
||||||
with:
|
|
||||||
ref: refs/heads/main
|
|
||||||
workflow: iob.docker - Build Debian 12 Image (beta)
|
|
||||||
repo: buanet/private.actionsrunner
|
|
||||||
inputs: '{ "chose_node_version": "Both Node versions" }'
|
|
||||||
token: ${{ secrets.ACTIONS_PAT }}
|
|
||||||
|
|
||||||
trigger_beta_build_manual:
|
|
||||||
if: github.event_name == 'workflow_dispatch'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Trigger beta build on release
|
|
||||||
uses: benc-uk/workflow-dispatch@v1.2
|
|
||||||
with:
|
|
||||||
ref: refs/heads/main
|
|
||||||
workflow: iob.docker - Build Debian 12 Image (beta)
|
|
||||||
repo: buanet/private.actionsrunner
|
|
||||||
inputs: '{ "chose_node_version": "${{ inputs.chose_node_version }}" }'
|
|
||||||
token: ${{ secrets.ACTIONS_PAT }}
|
|
||||||
40
.github/workflows/build-debian12-dev.yml
vendored
40
.github/workflows/build-debian12-dev.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.2
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
||||||
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
||||||
# Log output and export as Github environment variable
|
# Log output and export as Github environment variable
|
||||||
echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION_BETA }}"
|
echo "[LOG] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION }}"
|
||||||
echo "[LOG] Image Version: $VERSION"
|
echo "[LOG] Image Version: $VERSION"
|
||||||
echo "version=$VERSION" >> $GITHUB_ENV
|
echo "version=$VERSION" >> $GITHUB_ENV
|
||||||
echo "[LOG] Major Image Version: $MAJORVERSION"
|
echo "[LOG] Major Image Version: $MAJORVERSION"
|
||||||
@@ -40,31 +40,31 @@ jobs:
|
|||||||
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp
|
sed -e "s/\${VERSION}/$VERSION-dev/" -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
|
mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh
|
||||||
# Set values in Dockerfile
|
# Set values in Dockerfile
|
||||||
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION_BETA }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3.1.0
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3.4.0
|
uses: docker/setup-buildx-action@v3.2.0
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_PASS }}
|
password: ${{ secrets.DOCKER_PASS }}
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.PACKAGES_USER }}
|
username: ${{ secrets.PACKAGES_USER }}
|
||||||
password: ${{ secrets.PACKAGES_PASS }}
|
password: ${{ secrets.PACKAGES_PASS }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6.3.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
context: ./debian12
|
context: ./debian12
|
||||||
file: ./debian12/Dockerfile
|
file: ./debian12/Dockerfile
|
||||||
@@ -75,9 +75,9 @@ jobs:
|
|||||||
linux/arm/v7
|
linux/arm/v7
|
||||||
tags: |
|
tags: |
|
||||||
buanet/iobroker:dev,
|
buanet/iobroker:dev,
|
||||||
buanet/iobroker:dev-node${{ vars.RECOMMENDED_NODE_VERSION_BETA }},
|
buanet/iobroker:dev-node${{ vars.RECOMMENDED_NODE_VERSION }},
|
||||||
ghcr.io/buanet/iobroker:dev,
|
ghcr.io/buanet/iobroker:dev,
|
||||||
ghcr.io/buanet/iobroker:dev-node${{ vars.RECOMMENDED_NODE_VERSION_BETA }}
|
ghcr.io/buanet/iobroker:dev-node${{ vars.RECOMMENDED_NODE_VERSION }}
|
||||||
|
|
||||||
build-with-experimental-node:
|
build-with-experimental-node:
|
||||||
if: inputs.chose_node_version == 'Experimental Node version' || inputs.chose_node_version == 'Both Node versions'
|
if: inputs.chose_node_version == 'Experimental Node version' || inputs.chose_node_version == 'Both Node versions'
|
||||||
@@ -85,7 +85,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.2
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | sed -r 's#^(.{0})#\1latest-#')"
|
||||||
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
|
||||||
# Log output and export as Github environment variable
|
# Log output and export as Github environment variable
|
||||||
echo "[LOG] Nodejs Version: ${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}"
|
echo "[LOG] Nodejs Version: ${{ vars.EXPERIMENTAL_NODE_VERSION }}"
|
||||||
echo "[LOG] Image Version: $VERSION"
|
echo "[LOG] Image Version: $VERSION"
|
||||||
echo "version=$VERSION" >> $GITHUB_ENV
|
echo "version=$VERSION" >> $GITHUB_ENV
|
||||||
echo "[LOG] Major Image Version: $MAJORVERSION"
|
echo "[LOG] Major Image Version: $MAJORVERSION"
|
||||||
@@ -106,31 +106,31 @@ jobs:
|
|||||||
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${BUILD}/$DATI/" ./debian12/scripts/iobroker_startup.sh > ./debian12/scripts/iobroker_startup.tmp
|
sed -e "s/\${VERSION}/$VERSION-dev/" -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
|
mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh
|
||||||
# Set values in Dockerfile
|
# Set values in Dockerfile
|
||||||
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.EXPERIMENTAL_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3.1.0
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3.4.0
|
uses: docker/setup-buildx-action@v3.2.0
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_PASS }}
|
password: ${{ secrets.DOCKER_PASS }}
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.PACKAGES_USER }}
|
username: ${{ secrets.PACKAGES_USER }}
|
||||||
password: ${{ secrets.PACKAGES_PASS }}
|
password: ${{ secrets.PACKAGES_PASS }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6.3.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
context: ./debian12
|
context: ./debian12
|
||||||
file: ./debian12/Dockerfile
|
file: ./debian12/Dockerfile
|
||||||
@@ -140,5 +140,5 @@ jobs:
|
|||||||
linux/arm64/v8
|
linux/arm64/v8
|
||||||
linux/arm/v7
|
linux/arm/v7
|
||||||
tags: |
|
tags: |
|
||||||
buanet/iobroker:dev-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }},
|
buanet/iobroker:dev-node${{ vars.EXPERIMENTAL_NODE_VERSION }},
|
||||||
ghcr.io/buanet/iobroker:dev-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}
|
ghcr.io/buanet/iobroker:dev-node${{ vars.EXPERIMENTAL_NODE_VERSION }}
|
||||||
|
|||||||
22
.github/workflows/build-debian12-latest.yml
vendored
22
.github/workflows/build-debian12-latest.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.2
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
ref: ${{ env.RELEASE_TAG }}
|
ref: ${{ env.RELEASE_TAG }}
|
||||||
@@ -44,27 +44,27 @@ jobs:
|
|||||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3.1.0
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3.4.0
|
uses: docker/setup-buildx-action@v3.2.0
|
||||||
|
|
||||||
- name: Login to DockerHub (buanet)
|
- name: Login to DockerHub (buanet)
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_PASS }}
|
password: ${{ secrets.DOCKER_PASS }}
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.PACKAGES_USER }}
|
username: ${{ secrets.PACKAGES_USER }}
|
||||||
password: ${{ secrets.PACKAGES_PASS }}
|
password: ${{ secrets.PACKAGES_PASS }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6.3.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
context: ./debian12
|
context: ./debian12
|
||||||
file: ./debian12/Dockerfile
|
file: ./debian12/Dockerfile
|
||||||
@@ -94,7 +94,7 @@ jobs:
|
|||||||
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.2
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
ref: ${{ env.RELEASE_TAG }}
|
ref: ${{ env.RELEASE_TAG }}
|
||||||
@@ -120,20 +120,20 @@ jobs:
|
|||||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3.1.0
|
uses: docker/setup-qemu-action@v3.0.0
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v3.4.0
|
uses: docker/setup-buildx-action@v3.2.0
|
||||||
|
|
||||||
- name: Login to DockerHub (buanet)
|
- name: Login to DockerHub (buanet)
|
||||||
uses: docker/login-action@v3.2.0
|
uses: docker/login-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USER_IOB }}
|
username: ${{ secrets.DOCKER_USER_IOB }}
|
||||||
password: ${{ secrets.DOCKER_PASS_IOB }}
|
password: ${{ secrets.DOCKER_PASS_IOB }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6.3.0
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
context: ./debian12
|
context: ./debian12
|
||||||
file: ./debian12/Dockerfile
|
file: ./debian12/Dockerfile
|
||||||
|
|||||||
2
.github/workflows/update-docker-readme.yml
vendored
2
.github/workflows/update-docker-readme.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
update-docker-readme:
|
update-docker-readme:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4.1.2
|
||||||
|
|
||||||
- name: Update Docker Hub Readme (buanet)
|
- name: Update Docker Hub Readme (buanet)
|
||||||
uses: peter-evans/dockerhub-description@v4.0.0
|
uses: peter-evans/dockerhub-description@v4.0.0
|
||||||
|
|||||||
6
.github/workflows/version-checks.yml
vendored
6
.github/workflows/version-checks.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.2
|
||||||
with:
|
with:
|
||||||
repository: 'buanet/ioBroker.docker'
|
repository: 'buanet/ioBroker.docker'
|
||||||
token: ${{ secrets.ACTIONS_PAT }}
|
token: ${{ secrets.ACTIONS_PAT }}
|
||||||
@@ -43,8 +43,8 @@ jobs:
|
|||||||
curl -sL https://repo.iobroker.live/sources-dist.json | \
|
curl -sL https://repo.iobroker.live/sources-dist.json | \
|
||||||
jq -r '."discovery".version' > .github/dependencies/.discovery-version
|
jq -r '."discovery".version' > .github/dependencies/.discovery-version
|
||||||
echo "[LOG] Fetched discovery version is $(cat .github/dependencies/.discovery-version)"
|
echo "[LOG] Fetched discovery version is $(cat .github/dependencies/.discovery-version)"
|
||||||
curl -sL "https://deb.nodesource.com/node_18.x/dists/bullseye/main/binary-amd64/Packages" | \
|
curl -sL https://nodejs.org/dist/index.json | \
|
||||||
awk -F ': ' '/^Version:/ {split($2,a,"-"); print a[1]}' > .github/dependencies/.nodejs-version
|
jq -r 'map(select(.version | startswith("v18."))) | .[0].version' > .github/dependencies/.nodejs-version
|
||||||
echo "[LOG] Fetched nodejs version is $(cat .github/dependencies/.nodejs-version)"
|
echo "[LOG] Fetched nodejs version is $(cat .github/dependencies/.nodejs-version)"
|
||||||
|
|
||||||
- name: Check for modified files
|
- name: Check for modified files
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
### v10.0.0-beta.1 (13.07.2024)
|
|
||||||
* upgrade node version to recommended node20
|
|
||||||
* remove dedicated node setup from dockerfile
|
|
||||||
* improve logging for failed database check ([#411](https://github.com/buanet/ioBroker.docker/issues/411))
|
|
||||||
* rework build process due to problems with github actions
|
|
||||||
|
|
||||||
### v9.1.2 (05.04.2024)
|
### v9.1.2 (05.04.2024)
|
||||||
* fix build process by updating npm to latest
|
* fix build process by updating npm to latest
|
||||||
|
|
||||||
|
|||||||
@@ -39,17 +39,17 @@ RUN apt-get update && apt-get upgrade -y \
|
|||||||
udev \
|
udev \
|
||||||
wget \
|
wget \
|
||||||
# Install node
|
# Install node
|
||||||
#&& mkdir -p /etc/apt/keyrings \
|
&& mkdir -p /etc/apt/keyrings \
|
||||||
#&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
||||||
#&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
|
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
|
||||||
#&& printf "Package: *\nPin: origin deb.nodesource.com\nPin-Priority: 1001\n" > /etc/apt/preferences.d/nodesource \
|
&& printf "Package: *\nPin: origin deb.nodesource.com\nPin-Priority: 1001\n" > /etc/apt/preferences.d/nodesource \
|
||||||
#&& apt-get update && apt-get install -q -y --no-install-recommends nodejs \
|
&& apt-get update && apt-get install -q -y --no-install-recommends nodejs \
|
||||||
# Temp Fix (check/log npm version, update npm to latest)
|
# Temp Fix (check/log npm version, update npm to latest)
|
||||||
#&& npm -v \
|
&& npm -v \
|
||||||
#&& npm install -g npm@latest \
|
&& npm install -g npm@latest \
|
||||||
#&& npm -v \
|
&& npm -v \
|
||||||
# Install node-gyp
|
# Install node-gyp
|
||||||
#&& npm install --production -g node-gyp \
|
&& npm install --production -g node-gyp \
|
||||||
# Generating locales
|
# Generating locales
|
||||||
&& sed -i 's/^# *\(de_DE.UTF-8\)/\1/' /etc/locale.gen \
|
&& sed -i 's/^# *\(de_DE.UTF-8\)/\1/' /etc/locale.gen \
|
||||||
&& sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
|
&& sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
|
||||||
@@ -63,12 +63,7 @@ RUN apt-get update && apt-get upgrade -y \
|
|||||||
&& mkdir /opt/scripts/.docker_config \
|
&& mkdir /opt/scripts/.docker_config \
|
||||||
&& echo "${VERSION}" > /opt/scripts/.docker_config/.thisisdocker \
|
&& echo "${VERSION}" > /opt/scripts/.docker_config/.thisisdocker \
|
||||||
# Run iobroker installer
|
# Run iobroker installer
|
||||||
#&& curl -sL https://iobroker.net/install.sh | bash - \
|
&& curl -sL https://iobroker.net/install.sh | bash - \
|
||||||
# Temp Testing
|
|
||||||
&& curl -sL https://iobroker.net/install.sh -o install.sh \
|
|
||||||
&& sed -i 's/NODE_MAJOR=[0-9]\+/NODE_MAJOR=${NODE}/' install.sh \
|
|
||||||
&& sed -i 's|NODE_JS_BREW_URL=.*|NODE_JS_BREW_URL="https://nodejs.org"|' install.sh \
|
|
||||||
&& bash install.sh \
|
|
||||||
# Deleting UUID from build
|
# Deleting UUID from build
|
||||||
&& iobroker unsetup -y \
|
&& iobroker unsetup -y \
|
||||||
&& echo "true" > /opt/iobroker/.fresh_install \
|
&& echo "true" > /opt/iobroker/.fresh_install \
|
||||||
|
|||||||
@@ -343,10 +343,12 @@ else
|
|||||||
echo "Done."
|
echo "Done."
|
||||||
echo " "
|
echo " "
|
||||||
else
|
else
|
||||||
|
errormsg=$(gosu iobroker iob uuid 2>&1 | sed 's/^/[DEBUG] /')
|
||||||
echo "Failed."
|
echo "Failed."
|
||||||
errormsg=$(gosu iobroker iob uuid 2>&1 | sed 's/^/[ERROR] /')
|
if [[ "$debug" == "true" ]]; then
|
||||||
|
echo "[DEBUG] Error message: "
|
||||||
echo "$errormsg"
|
echo "$errormsg"
|
||||||
echo " "
|
fi
|
||||||
echo "Please check your configuration and try again."
|
echo "Please check your configuration and try again."
|
||||||
echo "For more information see ioBroker Docker image docs (https://docs.buanet.de/iobroker-docker-image/docs)."
|
echo "For more information see ioBroker Docker image docs (https://docs.buanet.de/iobroker-docker-image/docs)."
|
||||||
stop_on_error
|
stop_on_error
|
||||||
|
|||||||
@@ -35,7 +35,9 @@ New major image versions (e.g. v6, v7, v8) usually include a new major version o
|
|||||||
It is highly recommended not to use the `latest` tag for production, especially when using any kind of automated update procedure like watchtower. Please use the `latest-v[major_version]` tag instead.
|
It is highly recommended not to use the `latest` tag for production, especially when using any kind of automated update procedure like watchtower. Please use the `latest-v[major_version]` tag instead.
|
||||||
|
|
||||||
### Node 18 versions
|
### Node 18 versions
|
||||||
* [`v9.1.0`](https://github.com/buanet/ioBroker.docker/blob/v9.1.0/debian12/Dockerfile), [`latest-v9`](https://github.com/buanet/ioBroker.docker/blob/v9.1.0/debian12/Dockerfile), [`latest`](https://github.com/buanet/ioBroker.docker/blob/v9.1.0/debian12/Dockerfile)
|
* [`v9.1.2`](https://github.com/buanet/ioBroker.docker/blob/v9.1.2/debian12/Dockerfile), [`latest-v9`](https://github.com/buanet/ioBroker.docker/blob/v9.1.2/debian12/Dockerfile), [`latest`](https://github.com/buanet/ioBroker.docker/blob/v9.1.2/debian12/Dockerfile)
|
||||||
|
* [`v9.1.1`](https://github.com/buanet/ioBroker.docker/blob/v9.1.1/debian12/Dockerfile)
|
||||||
|
* [`v9.1.0`](https://github.com/buanet/ioBroker.docker/blob/v9.1.0/debian12/Dockerfile)
|
||||||
* [`v9.0.1`](https://github.com/buanet/ioBroker.docker/blob/v9.0.1/debian12/Dockerfile)
|
* [`v9.0.1`](https://github.com/buanet/ioBroker.docker/blob/v9.0.1/debian12/Dockerfile)
|
||||||
* [`v8.1.0`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile), [`latest-v8`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile),
|
* [`v8.1.0`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile), [`latest-v8`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile),
|
||||||
* [`v8.0.1`](https://github.com/buanet/ioBroker.docker/blob/v8.0.1/debian/node18/Dockerfile)
|
* [`v8.0.1`](https://github.com/buanet/ioBroker.docker/blob/v8.0.1/debian/node18/Dockerfile)
|
||||||
|
|||||||
@@ -37,7 +37,9 @@ New major image versions (e.g. v6, v7, v8) usually include a new major version o
|
|||||||
It is highly recommended not to use the `latest` tag for production, especially when using any kind of automated update procedure like watchtower. Please use the `latest-v[major_version]` tag instead.
|
It is highly recommended not to use the `latest` tag for production, especially when using any kind of automated update procedure like watchtower. Please use the `latest-v[major_version]` tag instead.
|
||||||
|
|
||||||
### Node 18 versions
|
### Node 18 versions
|
||||||
* [`v9.1.0`](https://github.com/buanet/ioBroker.docker/blob/v9.1.0/debian12/Dockerfile), [`latest-v9`](https://github.com/buanet/ioBroker.docker/blob/v9.1.0/debian12/Dockerfile), [`latest`](https://github.com/buanet/ioBroker.docker/blob/v9.1.0/debian12/Dockerfile)
|
* [`v9.1.2`](https://github.com/buanet/ioBroker.docker/blob/v9.1.2/debian12/Dockerfile), [`latest-v9`](https://github.com/buanet/ioBroker.docker/blob/v9.1.2/debian12/Dockerfile), [`latest`](https://github.com/buanet/ioBroker.docker/blob/v9.1.2/debian12/Dockerfile)
|
||||||
|
* [`v9.1.1`](https://github.com/buanet/ioBroker.docker/blob/v9.1.1/debian12/Dockerfile)
|
||||||
|
* [`v9.1.0`](https://github.com/buanet/ioBroker.docker/blob/v9.1.0/debian12/Dockerfile)
|
||||||
* [`v9.0.1`](https://github.com/buanet/ioBroker.docker/blob/v9.0.1/debian12/Dockerfile)
|
* [`v9.0.1`](https://github.com/buanet/ioBroker.docker/blob/v9.0.1/debian12/Dockerfile)
|
||||||
* [`v9.0.0`](https://github.com/buanet/ioBroker.docker/blob/v9.0.0/debian12/Dockerfile)
|
* [`v9.0.0`](https://github.com/buanet/ioBroker.docker/blob/v9.0.0/debian12/Dockerfile)
|
||||||
* [`v8.1.0`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile), [`latest-v8`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile),
|
* [`v8.1.0`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile), [`latest-v8`](https://github.com/buanet/ioBroker.docker/blob/v8.1.0/debian/node18/Dockerfile),
|
||||||
|
|||||||
Reference in New Issue
Block a user