From 6ab62e4369441d74032c3be10b7456266c4f9873 Mon Sep 17 00:00:00 2001 From: ShilongLee <72864711+ShilongLee@users.noreply.github.com> Date: Mon, 10 Jun 2024 19:06:20 +0800 Subject: [PATCH] Create docker-image.yaml --- .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..824f41e --- /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 build . --file Dockerfile --tag crawler:$(date +%s)