From 6ae7af41cfb2cd766b801a5656ecb42d674c787e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=80=E7=AE=80=E7=88=B1?= <59829816+jianjianai@users.noreply.github.com> Date: Mon, 22 May 2023 14:47:47 +0800 Subject: [PATCH] Create docker-image.yml --- .github/workflows/docker-image.yml | 17 +++++++++++++++++ 1 file changed, 17 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 00000000..73ef2255 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,17 @@ +name: Docker Image CI + +on: + push: + tags: + - "*.*.*.*" + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)