From 2f3a150c6c633a7e9f5375b6090745fb62c852dc Mon Sep 17 00:00:00 2001 From: Mouhcine <45631812+Crushoverride007@users.noreply.github.com> Date: Tue, 12 Apr 2022 04:47:51 +0000 Subject: [PATCH 1/2] 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..ce22517 --- /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@v3 + - name: Build the Docker image in clientui + run: docker build ./clientui --file Dockerfile --tag my-image-name:$(date +%s) From 053a6474f8af9438838c305507c94ff4d79cb24c Mon Sep 17 00:00:00 2001 From: Mouhcine <45631812+Crushoverride007@users.noreply.github.com> Date: Tue, 12 Apr 2022 04:49:42 +0000 Subject: [PATCH 2/2] Update docker-image.yml --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ce22517..8556628 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -15,4 +15,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build the Docker image in clientui - run: docker build ./clientui --file Dockerfile --tag my-image-name:$(date +%s) + run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)