From 274c8bed5d27ffffdbeaba4fa30c9792303a7e67 Mon Sep 17 00:00:00 2001 From: Bart van Oort Date: Sun, 13 Jun 2021 15:26:39 +0200 Subject: [PATCH] Fixes GoReleaser config by removing YAML anchors --- .goreleaser.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 5ab7f30..a851756 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,11 +15,6 @@ builds: - -s -w -X github.com/bvobart/mllint/commands.version={{.Version}} -X github.com/bvobart/mllint/commands.commit={{.Commit}} -X github.com/bvobart/mllint/commands.date={{.CommitDate}} mod_timestamp: '{{ .CommitTimestamp }}' -.dockers-common: &dockers-common - use_buildx: true - extra_files: - - build/requirements-tools.txt - # Build Docker containers of `mllint` for Python versions [3.6, 3.7, 3.8, 3.9] dockers: - image_templates: @@ -27,21 +22,27 @@ dockers: - bvobart/mllint:{{.Version}}-py3.6 build_flag_templates: - --build-arg=python_version=3.6 - <<: *dockers-common + extra_files: + - build/requirements-tools.txt + use_buildx: true - image_templates: - bvobart/mllint:latest-py3.7 - bvobart/mllint:{{.Version}}-py3.7 build_flag_templates: - --build-arg=python_version=3.7 - <<: *dockers-common + extra_files: + - build/requirements-tools.txt + use_buildx: true - image_templates: - bvobart/mllint:latest-py3.8 - bvobart/mllint:{{.Version}}-py3.8 build_flag_templates: - --build-arg=python_version=3.8 - <<: *dockers-common + extra_files: + - build/requirements-tools.txt + use_buildx: true - image_templates: - bvobart/mllint:latest @@ -50,7 +51,9 @@ dockers: - bvobart/mllint:{{.Version}}-py3.9 build_flag_templates: - --build-arg=python_version=3.9 - <<: *dockers-common + extra_files: + - build/requirements-tools.txt + use_buildx: true archives: - format: tar.gz