github.com/pachyderm/pachyderm@v1.13.4/goreleaser/docker.yml (about) 1 dist: ../dist-pach/docker 2 3 # Goreleaser needs a build step, so building a dummy binary. 4 # Hence the name `notusedbuild`, because its not used in any 5 # step. 6 # TODO: the pachyderm_build step in our docker images should 7 # be a build step here and we can make the pachd/worker docker 8 # a simpler process. It should also cut down the docker-build 9 # step. 10 builds: 11 - 12 id: notusedbuild 13 dir: etc/worker 14 main: init.go 15 binary: notusedbuild 16 env: 17 - CGO_ENABLED=0 18 goos: 19 - linux 20 goarch: 21 - amd64 22 23 archives: 24 - format: binary 25 26 checksum: 27 disable: true 28 29 changelog: 30 skip: true 31 32 release: 33 disable: true 34 35 dockers: 36 - 37 image_templates: 38 - pachyderm_build 39 skip_push: false 40 dockerfile: Dockerfile.pachd 41 build_flag_templates: 42 - "--build-arg=GO_VERSION={{ .Env.GOVERSION }}" 43 - "--build-arg=LD_FLAGS={{ .Env.LD_FLAGS }}" 44 - "--progress=plain" 45 - "--label=version={{.Version}}" 46 - "--label=release={{.Version}}" 47 extra_files: 48 - Makefile 49 - go.mod 50 - go.sum 51 - src 52 - ./LICENSE 53 - 54 image_templates: 55 - pachyderm/pachd 56 - pachyderm/pachd:local 57 skip_push: false 58 dockerfile: etc/pachd/Dockerfile 59 build_flag_templates: 60 - "--label=version={{.Version}}" 61 - "--label=release={{.Version}}" 62 - 63 image_templates: 64 - pachyderm/pachctl 65 skip_push: false 66 dockerfile: Dockerfile.pachctl 67 build_flag_templates: 68 - "--build-arg=GO_VERSION={{ .Env.GOVERSION }}" 69 - "--build-arg=LD_FLAGS={{ .Env.LD_FLAGS }}" 70 - "--progress=plain" 71 extra_files: 72 - Makefile 73 - go.mod 74 - go.sum 75 - src 76 - 77 image_templates: 78 - pachyderm/worker 79 - pachyderm/worker:local 80 skip_push: false 81 dockerfile: etc/worker/Dockerfile 82 build_flag_templates: 83 - "--build-arg=GO_VERSION={{ .Env.GOVERSION }}" 84 - "--progress=plain" 85 - "--label=version={{.Version}}" 86 - "--label=release={{.Version}}" 87 extra_files: 88 - etc/worker/init.go 89 - ./LICENSE