From df2eaeb88c18cb42fc5887630d3a8b974666cb01 Mon Sep 17 00:00:00 2001 From: charleslemaux <146107581+charleslemaux@users.noreply.github.com> Date: Mon, 15 Jul 2024 16:28:16 +0100 Subject: [PATCH] [+] Docker workflow This workflow checks the well being of the main Docker image of the Servii's backend --- .github/workflows/docker-image.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..793d8e0 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,18 @@ +name: Docker Image CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)