Create docker-image.yml

This commit is contained in:
Shuai authored and GitHub committed 2025-06-02 22:41:41 +08:00
1 parent f8f9a52e78
commit 079d53a0e8
1 file changed
+18
+18
View File
@@ -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 my-image-name:$(date +%s)