update docker image test

This commit is contained in:
buanet
2024-11-26 11:15:20 +01:00
parent 10075ddd12
commit adeec1699d
2 changed files with 2 additions and 29 deletions

View File

@@ -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

View File

@@ -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 '<title>Admin</title>' &> /dev/null || exit 1
curl --insecure https://iobroker:8081 2> /dev/null | grep '<title>Admin</title>' &> /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 ' '