From 738cbe1420f36b96a66d125ada988609e1ce3ac2 Mon Sep 17 00:00:00 2001 From: Harry Hung <4848896+HarryHung@users.noreply.github.com> Date: Fri, 1 Sep 2023 11:35:19 +0100 Subject: [PATCH] Create docker-image-build-to-test.yml --- .../workflows/docker-image-build-to-test.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/docker-image-build-to-test.yml diff --git a/.github/workflows/docker-image-build-to-test.yml b/.github/workflows/docker-image-build-to-test.yml new file mode 100644 index 0000000..92d3fd5 --- /dev/null +++ b/.github/workflows/docker-image-build-to-test.yml @@ -0,0 +1,18 @@ +name: Docker Image Build to Test + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build the Docker image to test + run: docker build . --file Dockerfile --tag bentley-app:$(date +%s) --target builder