From e84c55a025411f07ab1eb6de952ce72923dff310 Mon Sep 17 00:00:00 2001 From: wanjunlei Date: Wed, 22 Feb 2023 10:36:21 +0800 Subject: [PATCH] add action for auto push image Signed-off-by: wanjunlei --- .github/workflows/push-image.yaml | 4 ---- main.go | 2 -- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/push-image.yaml b/.github/workflows/push-image.yaml index 681cd15..4fda60b 100644 --- a/.github/workflows/push-image.yaml +++ b/.github/workflows/push-image.yaml @@ -24,11 +24,7 @@ on: - 'v*' paths: - '.github/workflows/**' - - 'apis/**' - - 'config/bundle.yaml' - 'controllers/**' - - 'hack/delete.sh' - - 'hack/deploy.sh' - 'pkg/**' - 'Dockerfile' - 'main.go' diff --git a/main.go b/main.go index 324a403..30dcee9 100644 --- a/main.go +++ b/main.go @@ -50,14 +50,12 @@ func main() { var metricsAddr string var enableLeaderElection bool var probeAddr string - var interval time.Duration flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.") flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.") flag.BoolVar(&enableLeaderElection, "leader-elect", false, "Enable leader election for controller manager. "+ "Enabling this will ensure there is only one active controller manager.") - flag.DurationVar(&interval, "builder-check-interval", time.Minute, "The interval used to check the expired builder") // Use `--zap-log-level=debug` to enable debug log. opts := zap.Options{