创建构建容器配置

This commit is contained in:
酷曦科技 2024-11-09 13:56:00 +08:00 committed by GitHub
parent 6944bfa1d9
commit 059ec22a31
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: [ "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 kpxyyyy/dnsmgr:$(date +%s)