diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3d28d69..853bed6 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -20,6 +20,17 @@ dockers: - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }} - --label=org.opencontainers.image.revision={{ .FullCommit }} - --label=org.opencontainers.image.licenses=Apache-2.0 +- image_templates: ["ghcr.io/six-ddc/plow"] + dockerfile: Dockerfile + build_flag_templates: + - --label=org.opencontainers.image.title={{ .ProjectName }} + - --label=org.opencontainers.image.description={{ .ProjectName }} + - --label=org.opencontainers.image.url=https://github.com/six-ddc/plow + - --label=org.opencontainers.image.source=https://github.com/six-ddc/plow + - --label=org.opencontainers.image.version={{ .Version }} + - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }} + - --label=org.opencontainers.image.revision={{ .FullCommit }} + - --label=org.opencontainers.image.licenses=Apache-2.0 nfpms: - maintainer: six-ddc@github description: A high-performance HTTP benchmarking tool with real-time web UI and terminal displaying. diff --git a/main.go b/main.go index aa12073..87a7eaa 100644 --- a/main.go +++ b/main.go @@ -104,7 +104,7 @@ Example: fmt.Println(desc) if *chartsListenAddr != "" { - fmt.Printf("> Real-time charts is listening on http://%s/\n", *chartsLinkAddr) + fmt.Printf("@ Real-time charts is listening on http://%s/\n", *chartsLinkAddr) } fmt.Printf("\n")