From 5b6028926aa316a5754eff0ac6d0d376bf08335c Mon Sep 17 00:00:00 2001 From: Emil <95469786+eleander56-b@users.noreply.github.com> Date: Mon, 25 Nov 2024 23:48:37 +0100 Subject: [PATCH] Create docker-image.yml --- .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..f872f53 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,18 @@ +name: Docker Image CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image + run: docker compose build . --file Dockerfile --tag hobbylos-data:$(date +%s)