github.com/pachyderm/pachyderm@v1.13.4/goreleaser/docker-build-pipelines.yml (about)

     1  dist: ../dist-dist/docker-build-pipeline
     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  builds:
     7    -
     8      id: notusedbuild
     9      dir: etc/worker
    10      main: init.go
    11      binary: notusedbuild
    12      env:
    13        - CGO_ENABLED=0
    14      goos:
    15        - linux
    16      goarch:
    17        - amd64
    18  
    19  archives:
    20    - format: binary
    21  
    22  checksum:
    23    disable: true
    24  
    25  changelog:
    26    skip: true
    27  
    28  release:
    29    disable: true
    30  
    31  dockers:
    32    -
    33      image_templates:
    34        - pachyderm/go-build:{{.Env.VERSION}}
    35      skip_push: false
    36      dockerfile: etc/pipeline-build/go/Dockerfile
    37      build_flag_templates:
    38        - "--label=version={{.Version}}"
    39        - "--label=release={{.Version}}"
    40      extra_files:
    41        - etc/pipeline-build/go
    42        - ./LICENSE
    43    -
    44      image_templates:
    45        - pachyderm/python-build:{{.Env.VERSION}}
    46      skip_push: false
    47      dockerfile: etc/pipeline-build/python/Dockerfile
    48      build_flag_templates:
    49        - "--label=version={{.Version}}"
    50        - "--label=release={{.Version}}"
    51      extra_files:
    52        - etc/pipeline-build/python
    53        - ./LICENSE