代码拉取完成,页面将自动刷新
project_name: lorawan-stack
changelog:
skip: true
release:
disable: true
builds:
- id: stack
main: ./cmd/ttn-lw-stack
binary: ttn-lw-stack
ldflags:
- -s
- -w
- -X go.thethings.network/lorawan-stack/v3/pkg/version.BuildDate={{.Date}}
- -X go.thethings.network/lorawan-stack/v3/pkg/version.GitCommit={{.ShortCommit}}
- -X go.thethings.network/lorawan-stack/v3/pkg/version.TTN={{ trimprefix .Version "v" }}
env:
- CGO_ENABLED=0
goos: [linux]
goarch: [amd64, arm64]
- id: cli
main: ./cmd/ttn-lw-cli
binary: ttn-lw-cli
ldflags:
- -s
- -w
- -X go.thethings.network/lorawan-stack/v3/pkg/version.BuildDate={{.Date}}
- -X go.thethings.network/lorawan-stack/v3/pkg/version.GitCommit={{.ShortCommit}}
- -X go.thethings.network/lorawan-stack/v3/pkg/version.TTN={{ trimprefix .Version "v" }}
env:
- CGO_ENABLED=0
goos: [linux]
goarch: [amd64, arm64]
dockers:
- goos: linux
goarch: amd64
dockerfile: Dockerfile
use: buildx
ids:
- cli
- stack
build_flag_templates:
- --platform=linux/amd64
- '--label=org.opencontainers.image.created={{.Date}}'
- '--label=org.opencontainers.image.vendor=The Things Network Foundation'
- '--label=org.opencontainers.image.title=The Things Stack'
- '--label=org.opencontainers.image.url=https://www.thethingsindustries.com/docs'
- '--label=org.opencontainers.image.revision={{.FullCommit}}'
image_templates:
- 'lorawan-stack-dev:{{ .FullCommit }}-amd64'
skip_push: true
extra_files:
- data
- public
- goos: linux
goarch: arm64
dockerfile: Dockerfile
use: buildx
ids:
- cli
- stack
build_flag_templates:
- --platform=linux/arm64
- '--label=org.opencontainers.image.created={{.Date}}'
- '--label=org.opencontainers.image.vendor=The Things Network Foundation'
- '--label=org.opencontainers.image.title=The Things Stack'
- '--label=org.opencontainers.image.url=https://www.thethingsindustries.com/docs'
- '--label=org.opencontainers.image.revision={{.FullCommit}}'
image_templates:
- 'lorawan-stack-dev:{{ .FullCommit }}-arm64'
skip_push: true
extra_files:
- data
- public
signs:
- artifacts: checksum
args:
- '--pinentry-mode=loopback'
- '--no-tty'
- '--passphrase-fd'
- '0'
- '--batch'
- '--output'
- '${signature}'
- '--detach-sign'
- '-u'
- '{{ .Env.SIGN_KEY_NAME }}'
- '${artifact}'
stdin_file: /tmp/gpg_passphrase
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。