mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-18 02:49:01 +02:00
Compare commits
53 Commits
v9.1.0
...
v10.0.0-be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0a8644a7d | ||
|
|
f78a2be83f | ||
|
|
d9b6141b80 | ||
|
|
28f5e54109 | ||
|
|
0e1ff982cf | ||
|
|
1891d34934 | ||
|
|
40f1fa1fd7 | ||
|
|
b5bd5ff529 | ||
|
|
4d1b79ee53 | ||
|
|
9252643fe7 | ||
|
|
776e5aa36d | ||
|
|
bef837b476 | ||
|
|
6a2e6498ed | ||
|
|
801413e579 | ||
|
|
0acf0995ea | ||
|
|
b4c9e9bca1 | ||
|
|
6858374b83 | ||
|
|
3f67dbc162 | ||
|
|
aaeb0119f4 | ||
|
|
004b5757ea | ||
|
|
b2895098bc | ||
|
|
13cb29bed7 | ||
|
|
dc9908c3ba | ||
|
|
17db723eb7 | ||
|
|
c9a4a11265 | ||
|
|
bfe581df36 | ||
|
|
c1b43166d1 | ||
|
|
283776f511 | ||
|
|
731a01339c | ||
|
|
f575c66883 | ||
|
|
8f1fe5b986 | ||
|
|
beead83dbf | ||
|
|
026d050136 | ||
|
|
5835a0e835 | ||
|
|
ca43f24804 | ||
|
|
e171da0c4e | ||
|
|
c6a0a789f0 | ||
|
|
4fee9bf397 | ||
|
|
4c39600957 | ||
|
|
abb803a4ff | ||
|
|
5ca414109b | ||
|
|
05347a1eda | ||
|
|
ba1c874781 | ||
|
|
b7dd2a5ec2 | ||
|
|
222db010cc | ||
|
|
1f04cd3ab8 | ||
|
|
0a21f09e85 | ||
|
|
c6e50c9e1a | ||
|
|
6a481b9449 | ||
|
|
e24d7c5c38 | ||
|
|
3ff0cb94e3 | ||
|
|
beb310b693 | ||
|
|
2dbb5a7c76 |
44
.github/workflows/build-debian12-beta.yml
vendored
44
.github/workflows/build-debian12-beta.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
||||
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
repository: 'buanet/ioBroker.docker'
|
||||
ref: ${{ env.RELEASE_TAG }}
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | 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] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION_BETA }}"
|
||||
echo "[LOG] Image Version: $VERSION"
|
||||
echo "version=$VERSION" >> $GITHUB_ENV
|
||||
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
|
||||
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}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION_BETA }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3.0.0
|
||||
uses: docker/setup-qemu-action@v3.1.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3.0.0
|
||||
uses: docker/setup-buildx-action@v3.4.0
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASS }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.PACKAGES_USER }}
|
||||
password: ${{ secrets.PACKAGES_PASS }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5.1.0
|
||||
uses: docker/build-push-action@v6.3.0
|
||||
with:
|
||||
context: ./debian12
|
||||
file: ./debian12/Dockerfile
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64/v8
|
||||
# linux/arm/v7
|
||||
linux/arm/v7
|
||||
tags: |
|
||||
buanet/iobroker:beta,
|
||||
buanet/iobroker:${{ env.version }},
|
||||
@@ -96,7 +96,7 @@ jobs:
|
||||
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
repository: 'buanet/ioBroker.docker'
|
||||
ref: ${{ env.RELEASE_TAG }}
|
||||
@@ -107,7 +107,7 @@ jobs:
|
||||
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | 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.EXPERIMENTAL_NODE_VERSION }}"
|
||||
echo "[LOG] Nodejs Version: ${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}"
|
||||
echo "[LOG] Image Version: $VERSION"
|
||||
echo "version=$VERSION" >> $GITHUB_ENV
|
||||
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
|
||||
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.EXPERIMENTAL_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||
sed -e "s/\${VERSION}/$VERSION/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3.0.0
|
||||
uses: docker/setup-qemu-action@v3.1.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3.0.0
|
||||
uses: docker/setup-buildx-action@v3.4.0
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASS }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.PACKAGES_USER }}
|
||||
password: ${{ secrets.PACKAGES_PASS }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5.1.0
|
||||
uses: docker/build-push-action@v6.3.0
|
||||
with:
|
||||
context: ./debian12
|
||||
file: ./debian12/Dockerfile
|
||||
@@ -150,11 +150,11 @@ jobs:
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64/v8
|
||||
# linux/arm/v7
|
||||
linux/arm/v7
|
||||
tags: |
|
||||
buanet/iobroker:beta-node${{ vars.EXPERIMENTAL_NODE_VERSION }},
|
||||
buanet/iobroker:${{ env.version }}-node${{ vars.EXPERIMENTAL_NODE_VERSION }},
|
||||
ghcr.io/buanet/iobroker:beta-node${{ vars.EXPERIMENTAL_NODE_VERSION }},
|
||||
ghcr.io/buanet/iobroker:${{ env.version }}-node${{ vars.EXPERIMENTAL_NODE_VERSION }}
|
||||
buanet/iobroker:beta-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }},
|
||||
buanet/iobroker:${{ env.version }}-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }},
|
||||
ghcr.io/buanet/iobroker:beta-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }},
|
||||
ghcr.io/buanet/iobroker:${{ env.version }}-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}
|
||||
provenance: false
|
||||
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
Normal file
42
.github/workflows/build-debian12-beta_ext.yml
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
# 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 }}
|
||||
44
.github/workflows/build-debian12-dev.yml
vendored
44
.github/workflows/build-debian12-dev.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
repository: 'buanet/ioBroker.docker'
|
||||
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | 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] Nodejs Version: ${{ vars.RECOMMENDED_NODE_VERSION_BETA }}"
|
||||
echo "[LOG] Image Version: $VERSION"
|
||||
echo "version=$VERSION" >> $GITHUB_ENV
|
||||
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
|
||||
mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh
|
||||
# Set values in Dockerfile
|
||||
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.RECOMMENDED_NODE_VERSION_BETA }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3.0.0
|
||||
uses: docker/setup-qemu-action@v3.1.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3.0.0
|
||||
uses: docker/setup-buildx-action@v3.4.0
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASS }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.PACKAGES_USER }}
|
||||
password: ${{ secrets.PACKAGES_PASS }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5.1.0
|
||||
uses: docker/build-push-action@v6.3.0
|
||||
with:
|
||||
context: ./debian12
|
||||
file: ./debian12/Dockerfile
|
||||
@@ -72,12 +72,12 @@ jobs:
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64/v8
|
||||
# linux/arm/v7
|
||||
linux/arm/v7
|
||||
tags: |
|
||||
buanet/iobroker:dev,
|
||||
buanet/iobroker:dev-node${{ vars.RECOMMENDED_NODE_VERSION }},
|
||||
buanet/iobroker:dev-node${{ vars.RECOMMENDED_NODE_VERSION_BETA }},
|
||||
ghcr.io/buanet/iobroker:dev,
|
||||
ghcr.io/buanet/iobroker:dev-node${{ vars.RECOMMENDED_NODE_VERSION }}
|
||||
ghcr.io/buanet/iobroker:dev-node${{ vars.RECOMMENDED_NODE_VERSION_BETA }}
|
||||
|
||||
build-with-experimental-node:
|
||||
if: inputs.chose_node_version == 'Experimental Node version' || inputs.chose_node_version == 'Both Node versions'
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
repository: 'buanet/ioBroker.docker'
|
||||
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
MAJORVERSION="$(cat .VERSION | cut -c 1-2 | 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.EXPERIMENTAL_NODE_VERSION }}"
|
||||
echo "[LOG] Nodejs Version: ${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}"
|
||||
echo "[LOG] Image Version: $VERSION"
|
||||
echo "version=$VERSION" >> $GITHUB_ENV
|
||||
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
|
||||
mv -f ./debian12/scripts/iobroker_startup.tmp ./debian12/scripts/iobroker_startup.sh
|
||||
# Set values in Dockerfile
|
||||
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.EXPERIMENTAL_NODE_VERSION }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||
sed -e "s/\${VERSION}/$VERSION-dev/" -e "s/\${DATI}/$DATI/" -e "s/\${NODE}/${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}/" ./debian12/Dockerfile > ./debian12/Dockerfile.tmp
|
||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3.0.0
|
||||
uses: docker/setup-qemu-action@v3.1.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3.0.0
|
||||
uses: docker/setup-buildx-action@v3.4.0
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASS }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.PACKAGES_USER }}
|
||||
password: ${{ secrets.PACKAGES_PASS }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5.1.0
|
||||
uses: docker/build-push-action@v6.3.0
|
||||
with:
|
||||
context: ./debian12
|
||||
file: ./debian12/Dockerfile
|
||||
@@ -138,7 +138,7 @@ jobs:
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64/v8
|
||||
# linux/arm/v7
|
||||
linux/arm/v7
|
||||
tags: |
|
||||
buanet/iobroker:dev-node${{ vars.EXPERIMENTAL_NODE_VERSION }},
|
||||
ghcr.io/buanet/iobroker:dev-node${{ vars.EXPERIMENTAL_NODE_VERSION }}
|
||||
buanet/iobroker:dev-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }},
|
||||
ghcr.io/buanet/iobroker:dev-node${{ vars.EXPERIMENTAL_NODE_VERSION_BETA }}
|
||||
|
||||
26
.github/workflows/build-debian12-latest.yml
vendored
26
.github/workflows/build-debian12-latest.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
repository: 'buanet/ioBroker.docker'
|
||||
ref: ${{ env.RELEASE_TAG }}
|
||||
@@ -44,27 +44,27 @@ jobs:
|
||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3.0.0
|
||||
uses: docker/setup-qemu-action@v3.1.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3.0.0
|
||||
uses: docker/setup-buildx-action@v3.4.0
|
||||
|
||||
- name: Login to DockerHub (buanet)
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASS }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.PACKAGES_USER }}
|
||||
password: ${{ secrets.PACKAGES_PASS }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5.1.0
|
||||
uses: docker/build-push-action@v6.3.0
|
||||
with:
|
||||
context: ./debian12
|
||||
file: ./debian12/Dockerfile
|
||||
@@ -72,7 +72,7 @@ jobs:
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64/v8
|
||||
# linux/arm/v7
|
||||
linux/arm/v7
|
||||
tags: |
|
||||
buanet/iobroker:latest,
|
||||
buanet/iobroker:${{ env.majorversion }},
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
repository: 'buanet/ioBroker.docker'
|
||||
ref: ${{ env.RELEASE_TAG }}
|
||||
@@ -120,20 +120,20 @@ jobs:
|
||||
mv -f ./debian12/Dockerfile.tmp ./debian12/Dockerfile
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3.0.0
|
||||
uses: docker/setup-qemu-action@v3.1.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3.0.0
|
||||
uses: docker/setup-buildx-action@v3.4.0
|
||||
|
||||
- name: Login to DockerHub (buanet)
|
||||
uses: docker/login-action@v3.0.0
|
||||
uses: docker/login-action@v3.2.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USER_IOB }}
|
||||
password: ${{ secrets.DOCKER_PASS_IOB }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5.1.0
|
||||
uses: docker/build-push-action@v6.3.0
|
||||
with:
|
||||
context: ./debian12
|
||||
file: ./debian12/Dockerfile
|
||||
@@ -141,7 +141,7 @@ jobs:
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64/v8
|
||||
# linux/arm/v7
|
||||
linux/arm/v7
|
||||
tags: |
|
||||
iobroker/iobroker:latest,
|
||||
iobroker/iobroker:${{ env.majorversion }},
|
||||
|
||||
6
.github/workflows/update-docker-readme.yml
vendored
6
.github/workflows/update-docker-readme.yml
vendored
@@ -12,10 +12,10 @@ jobs:
|
||||
update-docker-readme:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.1
|
||||
- uses: actions/checkout@v4.1.7
|
||||
|
||||
- name: Update Docker Hub Readme (buanet)
|
||||
uses: peter-evans/dockerhub-description@v3.4.2
|
||||
uses: peter-evans/dockerhub-description@v4.0.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASS }}
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
readme-filepath: ./docs/README_docker_hub_buanet.md
|
||||
|
||||
- name: Update Docker Hub Readme (iobroker)
|
||||
uses: peter-evans/dockerhub-description@v3.4.2
|
||||
uses: peter-evans/dockerhub-description@v4.0.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USER_IOB }}
|
||||
password: ${{ secrets.DOCKER_PASS_IOB }}
|
||||
|
||||
4
.github/workflows/version-checks.yml
vendored
4
.github/workflows/version-checks.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
repository: 'buanet/ioBroker.docker'
|
||||
token: ${{ secrets.ACTIONS_PAT }}
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
|
||||
- name: Docker Baseimage Checker
|
||||
id: baseimage
|
||||
uses: mkumatag/container-image-updater-action@v1.0.5
|
||||
uses: mkumatag/container-image-updater-action@v1.0.6
|
||||
with:
|
||||
base-image: '${{ env.baseimage }}'
|
||||
image: '${{ env.iobroker }}'
|
||||
|
||||
12
CHANGELOG.md
12
CHANGELOG.md
@@ -1,5 +1,17 @@
|
||||
## 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)
|
||||
* fix build process by updating npm to latest
|
||||
|
||||
### v9.1.1 (24.01.2024)
|
||||
* fix node js setup
|
||||
|
||||
### v9.1.0 (19.01.2024)
|
||||
* update docs and ci
|
||||
* v9.1.0-beta.4 (08.01.2024)
|
||||
|
||||
@@ -38,17 +38,18 @@ RUN apt-get update && apt-get upgrade -y \
|
||||
tzdata \
|
||||
udev \
|
||||
wget \
|
||||
# teporär
|
||||
&& apt-get install -q -y --no-install-recommends sudo \
|
||||
# Install node
|
||||
&& mkdir -p /etc/apt/keyrings \
|
||||
&& 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 \
|
||||
&& apt-get update && apt-get install -q -y --no-install-recommends nodejs \
|
||||
# Check for and install npm if not installed (no longer comes with nodejs? Bug?)
|
||||
&& npm --version || apt-get install -q -y --no-install-recommends npm \
|
||||
#&& mkdir -p /etc/apt/keyrings \
|
||||
#&& 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 \
|
||||
#&& 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 \
|
||||
# Temp Fix (check/log npm version, update npm to latest)
|
||||
#&& npm -v \
|
||||
#&& npm install -g npm@latest \
|
||||
#&& npm -v \
|
||||
# Install node-gyp
|
||||
&& npm install --production -g node-gyp \
|
||||
#&& npm install --production -g node-gyp \
|
||||
# Generating locales
|
||||
&& sed -i 's/^# *\(de_DE.UTF-8\)/\1/' /etc/locale.gen \
|
||||
&& sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
|
||||
@@ -62,7 +63,12 @@ RUN apt-get update && apt-get upgrade -y \
|
||||
&& mkdir /opt/scripts/.docker_config \
|
||||
&& echo "${VERSION}" > /opt/scripts/.docker_config/.thisisdocker \
|
||||
# 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
|
||||
&& iobroker unsetup -y \
|
||||
&& echo "true" > /opt/iobroker/.fresh_install \
|
||||
|
||||
@@ -343,12 +343,10 @@ else
|
||||
echo "Done."
|
||||
echo " "
|
||||
else
|
||||
errormsg=$(gosu iobroker iob uuid 2>&1 | sed 's/^/[DEBUG] /')
|
||||
echo "Failed."
|
||||
if [[ "$debug" == "true" ]]; then
|
||||
echo "[DEBUG] Error message: "
|
||||
echo "$errormsg"
|
||||
fi
|
||||
errormsg=$(gosu iobroker iob uuid 2>&1 | sed 's/^/[ERROR] /')
|
||||
echo "$errormsg"
|
||||
echo " "
|
||||
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)."
|
||||
stop_on_error
|
||||
|
||||
Reference in New Issue
Block a user