fix commandline parameter for external config dir #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag smarthomeng:latest | |
- name: Inspect Docker image | |
run: docker image inspect smarthomeng:latest | |
- name: Run SmarthomeNG Container | |
run: | | |
mkdir tmpMnt | |
pwd | |
docker container run -v /home/runner/work/docker_smarthomeNG/docker_smarthomeNG/tmpMnt:/mnt smarthomeng:latest | |
timeout-minutes: 1 | |
continue-on-error: true | |
- name: Check Log | |
run: | | |
if [ -f /home/runner/work/docker_smarthomeNG/docker_smarthomeNG/tmpMnt/data/log/smarthome-details.log ]; then | |
echo LogFound | |
else | |
exit 1 | |
fi | |
more /home/runner/work/docker_smarthomeNG/docker_smarthomeNG/tmpMnt/data/log/smarthome-details.log |