From f8b2f8f1ba59d7994ee04777f1b55c916de3008e Mon Sep 17 00:00:00 2001 From: "Fco. Javier Delgado del Hoyo" <frandelhoyo@gmail.com> Date: Sat, 16 Sep 2023 09:53:33 +0200 Subject: [PATCH] test docker image before building --- .github/workflows/image.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index e639e5f..6e89ef6 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -16,6 +16,12 @@ jobs: uses: actions/checkout@v4 - name: Test Bash scripts run: sudo apt-get -qq update && sudo apt-get install -y devscripts shellcheck && make test + - name: Test image + env: + VOLUME_PATH: ./ + DATABASE_NAME: foo + MARIADB_ROOT_PASSWORD: abcd + run: docker compose up --build build: runs-on: ubuntu-22.04 needs: test