chore: disable Docker build test in CI temporarily

Docker/GHCR push will be re-enabled after thorough local testing.
This commit is contained in:
SnapOtter
2026-04-24 18:23:21 +08:00
parent 55fef373b5
commit 8953045316
+21 -24
View File
@@ -93,27 +93,24 @@ jobs:
- run: pnpm install --frozen-lockfile
- run: pnpm build
docker:
name: Docker Build Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Log in to GHCR (for registry cache)
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
push: false
tags: snapotter:ci
build-args: SKIP_MODEL_DOWNLOADS=true
cache-from: type=registry,ref=ghcr.io/snapotter-hq/snapotter:cache-linux-amd64
cache-to: type=registry,ref=ghcr.io/snapotter-hq/snapotter:cache-ci,mode=max
# docker:
# name: Docker Build Test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: docker/setup-buildx-action@v3
# - name: Log in to GHCR (for registry cache)
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GHCR_TOKEN }}
# - uses: docker/build-push-action@v6
# with:
# context: .
# file: docker/Dockerfile
# push: false
# tags: snapotter:ci
# build-args: SKIP_MODEL_DOWNLOADS=true
# cache-from: type=registry,ref=ghcr.io/snapotter-hq/snapotter:cache-linux-amd64
# cache-to: type=registry,ref=ghcr.io/snapotter-hq/snapotter:cache-ci,mode=max