Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
lsowen committed Sep 15, 2024
1 parent 2b62b38 commit 72a353a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Docker Image Workflow
on:
push:
tags:
- 'v*'
on: push
# on:
# push:
# tags:
# - 'v*'

env:
REGISTRY: ghcr.io
Expand Down
6 changes: 5 additions & 1 deletion cmd/hooverdam/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
},
}

Expand Down

0 comments on commit 72a353a

Please # to comment.