From 90b0cfeeaef9d34a29de590a5aaaca55535613e8 Mon Sep 17 00:00:00 2001 From: Jan Schutte Date: Tue, 19 Sep 2023 23:15:07 +0200 Subject: [PATCH] Create build-image.yml --- .github/workflows/build-image.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/build-image.yml diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml new file mode 100644 index 0000000..a3a1ddf --- /dev/null +++ b/.github/workflows/build-image.yml @@ -0,0 +1,18 @@ +name: Image build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build the image + run: docker build . --file Dockerfile --tag kroeg:$(date +%s)