Skip to content

Commit 4347a58

Browse files
authored
Merge pull request #8 from wanjunlei/sourceimage
add action for auto push image
2 parents 2126a7f + e84c55a commit 4347a58

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

.github/workflows/push-image.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ on:
2424
- 'v*'
2525
paths:
2626
- '.github/workflows/**'
27-
- 'apis/**'
28-
- 'config/bundle.yaml'
2927
- 'controllers/**'
30-
- 'hack/delete.sh'
31-
- 'hack/deploy.sh'
3228
- 'pkg/**'
3329
- 'Dockerfile'
3430
- 'main.go'

main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ func main() {
5050
var metricsAddr string
5151
var enableLeaderElection bool
5252
var probeAddr string
53-
var interval time.Duration
5453

5554
flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
5655
flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
5756
flag.BoolVar(&enableLeaderElection, "leader-elect", false,
5857
"Enable leader election for controller manager. "+
5958
"Enabling this will ensure there is only one active controller manager.")
60-
flag.DurationVar(&interval, "builder-check-interval", time.Minute, "The interval used to check the expired builder")
6159

6260
// Use `--zap-log-level=debug` to enable debug log.
6361
opts := zap.Options{

0 commit comments

Comments
 (0)