diff --git a/.goreleaser.yml b/.goreleaser.yml index b393ac00ea9..90a7037f943 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -92,3 +92,8 @@ docker_manifests: image_templates: - "{{ .Env.REGISTRY }}/{{ .Env.GITHUB_REPOSITORY }}/fleet:{{ .Env.DOCKER_TAG }}-amd64" - "{{ .Env.REGISTRY }}/{{ .Env.GITHUB_REPOSITORY }}/fleet:{{ .Env.DOCKER_TAG }}-arm64" + - name_template: "{{ .Env.REGISTRY }}/{{ .Env.GITHUB_REPOSITORY }}/fleet:latest" + image_templates: + - "{{ .Env.REGISTRY }}/{{ .Env.GITHUB_REPOSITORY }}/fleet:{{ .Env.DOCKER_TAG }}-amd64" + - "{{ .Env.REGISTRY }}/{{ .Env.GITHUB_REPOSITORY }}/fleet:{{ .Env.DOCKER_TAG }}-arm64" + skip_push: "{{ if or (eq .Env.DOCKER_PUSH \"false\") (eq .Env.DOCKER_TAG \"latest\") }}true{{ else }}false{{ end }}"