From b510069c080f290014b465ecb0bfd362bdf093c3 Mon Sep 17 00:00:00 2001 From: erciccione Date: Mon, 10 Jul 2023 08:37:38 +0200 Subject: [PATCH] ci: add workflow to test dockerfile when it's edited --- .github/workflows/test-dockerfile.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/test-dockerfile.yml diff --git a/.github/workflows/test-dockerfile.yml b/.github/workflows/test-dockerfile.yml new file mode 100644 index 0000000000..b8dd64da8b --- /dev/null +++ b/.github/workflows/test-dockerfile.yml @@ -0,0 +1,20 @@ + +name: build Dockerfile + +on: + push: + paths: + - 'Dockerfile' + pull_request: + paths: + - 'Dockerfile' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build Docker image + run: docker build -t firo . +