From 3c36d1c1698d86d31614847a691078355d292d99 Mon Sep 17 00:00:00 2001 From: Guillaume Dorce <43939294+polynux@users.noreply.github.com> Date: Fri, 26 May 2023 12:34:38 +0200 Subject: [PATCH] Create docker-image.yml --- .github/workflows/docker-image.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..ce54860 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,21 @@ +name: Docker Image CI + +on: + push: + branches: [ "main" ] + tags: + - 'v*.*' + pull_request: + branches: [ "main" ] + workflow_dispatch: + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag pchl:$(date +%s)