diff --git a/.goreleaser.yml b/.goreleaser.yml index d096061..6e09649 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -16,6 +16,7 @@ builds: archives: - format: binary + name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" checksum: name_template: 'checksums.txt' @@ -25,8 +26,8 @@ snapshot: dockers: - image_templates: - - "docker.io/appuio/image-cleanup:{{ .Tag }}" - - "docker.io/appuio/image-cleanup:{{ .Major }}" + - "docker.io/appuio/image-cleanup:v{{ .Version }}" + - "docker.io/appuio/image-cleanup:v{{ .Major }}" changelog: sort: asc diff --git a/README.md b/README.md index c566695..61fdac4 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,10 @@ go test ./... docker run --rm -it appuio/image-cleanup: ``` +## Release + +Push a git tag with the scheme `vX.Y.Z`. + ## License This project is BSD 3-Clause licensed (see LICENSE file for details).