diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 019c14a..db54fb8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,10 +14,8 @@ jobs: run: sudo apt-get update && sudo apt-get install -y shellcheck - name: Run ShellCheck run: shellcheck run.sh app/config_parser.sh tests/*.sh - - name: Run Docker build and test + - name: Run test run: bash test.sh - - name: Run watch config test - run: sudo bash tests/watch_config_test.sh - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Log in to Docker Hub @@ -32,4 +30,4 @@ jobs: with: context: . push: true - tags: ${{ secrets.DOCKER_USER }}/${{ github.event.repository.name }}:latest + tags: racemap/${{ github.event.repository.name }}:latest diff --git a/app/config_parser.sh b/app/config_parser.sh index 51dacaa..a78ec10 100644 --- a/app/config_parser.sh +++ b/app/config_parser.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -e +set -euo pipefail CRONTABS_DIR=${CRONTABS_DIR:-/etc/crontabs}