change image name
All checks were successful
Build docker container / Build image (push) Successful in 33s

This commit is contained in:
Mans Ziesel 2024-09-06 19:50:28 +02:00
parent 7780311ea6
commit d7be2e9ac3
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ghcr.io/catthehacker/ubuntu:act-latest container: ghcr.io/catthehacker/ubuntu:act-latest
env: env:
IMAGE_NAME: goredire IMAGE_NAME: goredir
REGISTRY: git.mziesel.nl REGISTRY: git.mziesel.nl
REPO_OWNER: mans REPO_OWNER: mans
steps: steps:

View File

@ -11,6 +11,7 @@ func greet(w http.ResponseWriter, r *http.Request) {
if !strings.HasSuffix(r.Host, "mzsl.nl") { if !strings.HasSuffix(r.Host, "mzsl.nl") {
w.WriteHeader(http.StatusNotFound) w.WriteHeader(http.StatusNotFound)
w.Write([]byte("404, url not found")) w.Write([]byte("404, url not found"))
fmt.Printf("Host: %s not found\n", r.Host)
return return
} }