f658cb9ff3dd7273395fbc8341d1699c8b7e2e1c — HokieGeek a month ago f56139c v1.2.1
Decided to use Docker Hub and added some logging output
2 files changed, 5 insertions(+), 4 deletions(-)

M .build.yml
M main.go
M .build.yml => .build.yml +3 -4
@@ 10,10 10,9 @@ environment:
    PROJ: cloudrunner
    CI_COMMIT_TAG: $(git --work-tree=./teadb --git-dir=./cloudrunner/.git describe)
-   CI_REGISTRY: quay.io
    CI_REGISTRY_USER: hokiegeek
  secrets:
-   - d675b280-e56b-4c0f-9908-549c70a7e2f9 # quay secret
+   - 1e1af69d-4036-40fd-9eb8-03b367bdb0eb # docker hub
  tasks:
    - setup: |
        sudo mount -t tmpfs -o size=4G /dev/null /dev/shm


@@ 30,10 29,10 @@ go test -v -cover ./...
    - package: |
        cd ${PROJ}
-       IMAGE=${CI_REGISTRY}/hokiegeek/${PROJ}
+       IMAGE=hokiegeek/${PROJ}
        IMAGE_TAG=${IMAGE}:${CI_COMMIT_TAG}
        IMAGE_LATEST_TAG=${IMAGE}:latest
        docker build -t $IMAGE_TAG -t $IMAGE_LATEST_TAG .
-       cat $HOME/.image_registry_token | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY}
+       cat $HOME/.image_registry_token | docker login --username ${CI_REGISTRY_USER} --password-stdin
        docker push $IMAGE_TAG
        docker push $IMAGE_LATEST_TAG

M main.go => main.go +2 -0
@@ 23,10 23,12 @@   	strip := strings.Split(*stripPtr, ",")
  	for _, s := range strip {
+ 		log.Printf("Stripping prefix: %s\n", s)
  		http.Handle(s, http.StripPrefix(s, http.FileServer(http.Dir(*rootPtr))))
  	}
  
  	http.Handle("/", http.FileServer(http.Dir(*rootPtr)))
  
+ 	log.Printf("Serving on port: %s\n", port)
  	log.Fatal(http.ListenAndServe(fmt.Sprintf(":%s", port), nil))
  }