From 9e5b03321489cdd9543c2c297a0e7397aadf6d4a Mon Sep 17 00:00:00 2001 From: kunish Date: Thu, 1 Feb 2024 18:27:32 +0800 Subject: [PATCH] build: prepare hook failure in docker --- .github/workflows/{cleanPkg.yml => clean-pkg.yml} | 3 ++- Dockerfile | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) rename .github/workflows/{cleanPkg.yml => clean-pkg.yml} (95%) diff --git a/.github/workflows/cleanPkg.yml b/.github/workflows/clean-pkg.yml similarity index 95% rename from .github/workflows/cleanPkg.yml rename to .github/workflows/clean-pkg.yml index 4d37b66b..be8c3129 100644 --- a/.github/workflows/cleanPkg.yml +++ b/.github/workflows/clean-pkg.yml @@ -1,4 +1,5 @@ name: clean old package + on: workflow_dispatch: schedule: @@ -9,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/delete-package-versions@v4 - with: + with: package-name: 'metacubexd' package-type: 'container' min-versions-to-keep: 3 diff --git a/Dockerfile b/Dockerfile index 2b5b15e9..b3739398 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM docker.io/oven/bun:alpine as builder +ENV HUSKY=0 WORKDIR /build COPY . .