diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 4e1173a..88b8f35 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -1,8 +1,9 @@ name: Docker Image Workflow -on: - push: - tags: - - 'v*' +on: push +# on: +# push: +# tags: +# - 'v*' env: REGISTRY: ghcr.io diff --git a/cmd/hooverdam/cmd/run.go b/cmd/hooverdam/cmd/run.go index f4e7138..21b3fa3 100644 --- a/cmd/hooverdam/cmd/run.go +++ b/cmd/hooverdam/cmd/run.go @@ -21,7 +21,11 @@ var runCmd = &cobra.Command{ os.Exit(1) } - http.ListenAndServe(":8080", r) + err = http.ListenAndServe(":8080", r) + if err != nil { + fmt.Println(err) + os.Exit(1) + } }, }