From 484ff14d1f6911a0baa398c7655121068cd39502 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 8 Mar 2023 21:24:41 +0000 Subject: [PATCH] ci: initial workflow --- .github/workflows/ci.yml | 19 +++++++++++++++++++ Dockerfile | 5 +++++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 Dockerfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..194da3f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI + +on: + push: + main: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 + + - uses: extractions/setup-just@95b912dc5d3ed106a72907f2f9b91e76d60bdb76 # 1.5.0 + + - name: Build the Docker image + run: | + docker image build . \ + --tag build-configs diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4be9248 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM php:8.1-cli + +WORKDIR /app + +ENTRYPOINT ["bash"]