From e360efb6d999a3292929c61adf054cefbb60dc24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20D=C3=A9siles?= <1536672+jokesterfr@users.noreply.github.com> Date: Thu, 12 Oct 2023 22:44:05 +0200 Subject: [PATCH] Quick fix --- .github/workflows/pull-request.yml | 7 +++++-- build.sh | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3a3852e..4d69f5f 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -29,7 +29,10 @@ jobs: os_flavour: ["alpine", "debian"] name: "Docker build: ${{ matrix.os_flavour }}" steps: - - uses: actions/checkout@v3 - - run: ./build.sh + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Call the docker build chain + run: ./build.sh env: OS_FLAVOUR: ${{ matrix.os_flavour }} diff --git a/build.sh b/build.sh index beb7a16..9a22475 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -set -eu +set -e cd "$(dirname "$0")" # Available variables