Create docker-image.yml

This commit is contained in:
滑稽菌 2024-07-14 23:34:18 +08:00 committed by GitHub
parent e8b69c5ab5
commit f7d6a40003
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

18
.github/workflows/docker-image.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Docker Image CI
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
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)