|
| 1 | +before: |
| 2 | + hooks: |
| 3 | + - go mod download |
| 4 | + |
| 5 | +builds: |
| 6 | + - &build |
| 7 | + id: "attache-check-build" |
| 8 | + binary: "attache-check" |
| 9 | + env: |
| 10 | + - CGO_ENABLED=0 |
| 11 | + goos: |
| 12 | + - linux |
| 13 | + - darwin |
| 14 | + - windows |
| 15 | + goarch: |
| 16 | + - amd64 |
| 17 | + - arm64 |
| 18 | + goarm: |
| 19 | + - "6" |
| 20 | + - "7" |
| 21 | + main: ./cmd/attache-check |
| 22 | + |
| 23 | + - <<: *build |
| 24 | + id: "attache-control-build" |
| 25 | + binary: "attache-control" |
| 26 | + main: ./cmd/attache-control |
| 27 | + |
| 28 | +archives: |
| 29 | +- replacements: |
| 30 | + darwin: Darwin |
| 31 | + linux: Linux |
| 32 | + windows: Windows |
| 33 | + "386": i386 |
| 34 | + amd64: x86_64 |
| 35 | + allow_different_binary_count: true |
| 36 | + |
| 37 | +checksum: |
| 38 | + name_template: 'checksums.txt' |
| 39 | + |
| 40 | +snapshot: |
| 41 | + name_template: "{{ .Tag }}-next" |
| 42 | + |
| 43 | +changelog: |
| 44 | + sort: asc |
| 45 | + filters: |
| 46 | + exclude: |
| 47 | + - '^docs:' |
| 48 | + - '^test:' |
| 49 | + |
| 50 | +dockers: |
| 51 | + - id: "attache-check-docker" |
| 52 | + ids: |
| 53 | + - "attache-check-build" |
| 54 | + image_templates: |
| 55 | + - "ghcr.io/letsencrypt/attache-check:{{ .Tag }}" |
| 56 | + - "ghcr.io/letsencrypt/attache-check:v{{ .Major }}" |
| 57 | + - "ghcr.io/letsencrypt/attache-check:v{{ .Major }}.{{ .Minor }}" |
| 58 | + - "ghcr.io/letsencrypt/attache-check:latest" |
| 59 | + build_flag_templates: |
| 60 | + - "--pull" |
| 61 | + - "--label=org.opencontainers.image.created={{.Date}}" |
| 62 | + - "--label=org.opencontainers.image.title=attache-check" |
| 63 | + - "--label=org.opencontainers.image.revision={{.FullCommit}}" |
| 64 | + - "--label=org.opencontainers.image.version={{.Version}}" |
| 65 | + - "--build-arg=BINARY_NAME=attache-check" |
| 66 | + dockerfile: Dockerfile |
| 67 | + - id: "attache-control-docker" |
| 68 | + ids: |
| 69 | + - "attache-control-build" |
| 70 | + image_templates: |
| 71 | + - "ghcr.io/letsencrypt/attache-control:{{ .Tag }}" |
| 72 | + - "ghcr.io/letsencrypt/attache-control:v{{ .Major }}" |
| 73 | + - "ghcr.io/letsencrypt/attache-control:v{{ .Major }}.{{ .Minor }}" |
| 74 | + - "ghcr.io/letsencrypt/attache-control:latest" |
| 75 | + build_flag_templates: |
| 76 | + - "--pull" |
| 77 | + - "--label=org.opencontainers.image.created={{.Date}}" |
| 78 | + - "--label=org.opencontainers.image.title=attache-control" |
| 79 | + - "--label=org.opencontainers.image.revision={{.FullCommit}}" |
| 80 | + - "--label=org.opencontainers.image.version={{.Version}}" |
| 81 | + - "--build-arg=BINARY_NAME=attache-control" |
| 82 | + dockerfile: Dockerfile |
| 83 | + |
| 84 | +nfpms: |
| 85 | + - id: attache-nfpm |
| 86 | + package_name: attache |
| 87 | + builds: |
| 88 | + - attache-check-build |
| 89 | + - attache-control-build |
| 90 | + maintainer: Let's Encrypt <opensource@letsencrypt.org> |
| 91 | + description: A sidecar that allows for effortless scaling of Redis Clusters using Hashicorp Nomad and Consul. |
| 92 | + homepage: https://github.com/letsencrypt/attache |
| 93 | + formats: |
| 94 | + - deb |
| 95 | + - rpm |
| 96 | + - apk |
0 commit comments