Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
ref: ${{github.event.pull_request.head.sha}}
fetch-depth: 0

- name: Login to Registry
uses: docker/login-action@v3
with:
registry: ${{env.REGISTRY}}
username: stakater-user
password: ${{secrets.GITHUB_TOKEN}}
# Setting up helm binary
- name: Set up Helm
uses: azure/setup-helm@v4
Expand Down Expand Up @@ -134,7 +140,7 @@ jobs:
context: .
file: ${{ env.DOCKER_FILE_PATH }}
pull: true
push: false
push: true
build-args: BUILD_PARAMETERS=${{ env.BUILD_PARAMETERS }}
cache-to: type=inline
platforms: linux/amd64,linux/arm,linux/arm64
Expand Down
11 changes: 11 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
package main

import (
"fmt"
"os"

"net/http"
_ "net/http/pprof"

"github.com/stakater/Reloader/internal/pkg/app"
)

func main() {

go func() {
if err := http.ListenAndServe("localhost:6060", nil); err != nil {
fmt.Println("Failed to start pprof server:", err)
}
}()

if err := app.Run(); err != nil {
os.Exit(1)
}
Expand Down
Loading