From f692b8bd9d18923d67c967196a86dedea412ff6a Mon Sep 17 00:00:00 2001 From: arthur Date: Thu, 21 Nov 2024 22:35:55 +0100 Subject: [PATCH] feat: create docker-ci (build image) Signed-off-by: Arthur Broudoux --- .github/workflows/build-docker.yml | 18 ++++++++++++++++++ .github/workflows/ci.yml | 4 +++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build-docker.yml diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml new file mode 100644 index 0000000..0a2b5ec --- /dev/null +++ b/.github/workflows/build-docker.yml @@ -0,0 +1,18 @@ +name: Build Docker image + +on: + push: + branches: + - main + - develop + pull_request: + branches: + - main + - develop + +jobs: + build_image: + runs-on: ubuntu-latest + steps: + - name: build image + run: docker build -t abroudoux/better-app -f docker/Dockerfile . diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de0457a..ccb0b54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,14 @@ -name: Continuous Integration +name: Continuous Tests Integration on: push: branches: - main + - develop pull_request: branches: - main + - develop jobs: unit-test: