chore: move Dockerfiles into docker directory (#1745)

This commit is contained in:
leejet 2026-07-05 18:39:09 +08:00 committed by GitHub
parent 0321ce17fb
commit c674225b38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ on:
[ [
".github/workflows/**", ".github/workflows/**",
".dockerignore", ".dockerignore",
"Dockerfile*", "docker/Dockerfile*",
"**/CMakeLists.txt", "**/CMakeLists.txt",
"**/Makefile", "**/Makefile",
"**/*.h", "**/*.h",
@ -32,7 +32,7 @@ on:
[ [
".github/workflows/**", ".github/workflows/**",
".dockerignore", ".dockerignore",
"Dockerfile*", "docker/Dockerfile*",
"**/CMakeLists.txt", "**/CMakeLists.txt",
"**/Makefile", "**/Makefile",
"**/*.h", "**/*.h",
@ -264,7 +264,7 @@ jobs:
context: . context: .
platforms: ${{ matrix.platform }} platforms: ${{ matrix.platform }}
push: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} push: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
file: Dockerfile.${{ matrix.variant }} file: docker/Dockerfile.${{ matrix.variant }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH_NAME }}-${{ matrix.variant }}${{ matrix.tag-suffix }} tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH_NAME }}-${{ matrix.variant }}${{ matrix.tag-suffix }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }} annotations: ${{ steps.meta.outputs.annotations }}

View File

@ -19,7 +19,7 @@ docker run --rm --init -v /path/to/models:/models -v /path/to/output/:/output -p
## Building using Docker ## Building using Docker
```shell ```shell
docker build -t sd . docker build -f docker/Dockerfile -t sd .
``` ```
## Building variants using Docker ## Building variants using Docker
@ -27,7 +27,7 @@ docker build -t sd .
Vulkan: Vulkan:
```shell ```shell
docker build -f Dockerfile.vulkan -t sd . docker build -f docker/Dockerfile.vulkan -t sd .
``` ```
## Run locally built image's CLI ## Run locally built image's CLI