From d4c3997c2983eaa8eab10b98167d3a0e2d55c326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20C=20McCord?= Date: Thu, 26 Mar 2020 12:02:47 -0400 Subject: [PATCH] update goreleaser config --- .goreleaser.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index ebf16c9..aa2e7fa 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,10 +10,11 @@ builds: goarch: - amd64 -archive: - format: tar.gz - name_template: "{{ .Binary }}.{{ .Os }}.{{ .Arch }}" - files: +archives: + - id: asterisk-config + format: tar.gz + name_template: "{{ .Binary }}.{{ .Os }}.{{ .Arch }}" + files: - 'defaults/*' - 'defaults/ari.d/*' - 'defaults/extensions.d/*' @@ -33,11 +34,10 @@ changelog: - '^test:' dockers: - - image: cycoresystems/asterisk-config - tag_templates: - - "{{ .Tag }}" - - "v{{ .Major }}" - - "v{{ .Major }}.{{ .Minor }}" - - latest + - image_templates: + - 'cycoresystems/asterisk-config:{{ .Tag }}' + - 'cycoresystems/asterisk-config:{{ .Major }}' + - 'cycoresystems/asterisk-config:{{ .Major }}.{{ .Minor }}' + - 'cycoresystems/asterisk-config:latest' extra_files: - 'defaults/'