mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
refactor: rename sonrd dockerfile to Dockerfile
This commit is contained in:
@@ -14,26 +14,6 @@ builds:
|
|||||||
ldflags:
|
ldflags:
|
||||||
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
|
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
|
||||||
|
|
||||||
- id: hway
|
|
||||||
goos: [linux, darwin]
|
|
||||||
goarch: [amd64, arm64]
|
|
||||||
main: ./cmd/hway
|
|
||||||
binary: hway
|
|
||||||
builder: go
|
|
||||||
gobinary: go
|
|
||||||
command: build
|
|
||||||
ldflags:
|
|
||||||
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
|
|
||||||
|
|
||||||
- id: motr
|
|
||||||
goos: [js]
|
|
||||||
goarch: [wasm]
|
|
||||||
main: ./cmd/motr/motr.go
|
|
||||||
binary: motr
|
|
||||||
builder: go
|
|
||||||
gobinary: go
|
|
||||||
command: build
|
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- id: sonr
|
- id: sonr
|
||||||
builds: [sonr]
|
builds: [sonr]
|
||||||
@@ -43,14 +23,6 @@ archives:
|
|||||||
- src: README*
|
- src: README*
|
||||||
- src: CHANGELOG*
|
- src: CHANGELOG*
|
||||||
|
|
||||||
- id: hway
|
|
||||||
builds: [hway]
|
|
||||||
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
|
|
||||||
format: tar.gz
|
|
||||||
files:
|
|
||||||
- src: README*
|
|
||||||
- src: CHANGELOG*
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
github:
|
github:
|
||||||
owner: onsonr
|
owner: onsonr
|
||||||
@@ -82,22 +54,6 @@ brews:
|
|||||||
branch: master
|
branch: master
|
||||||
token: "{{ .Env.GITHUB_PERSONAL_AUTH_TOKEN }}"
|
token: "{{ .Env.GITHUB_PERSONAL_AUTH_TOKEN }}"
|
||||||
|
|
||||||
- name: hway
|
|
||||||
ids: [hway]
|
|
||||||
commit_author:
|
|
||||||
name: goreleaserbot
|
|
||||||
email: bot@goreleaser.com
|
|
||||||
directory: Formula
|
|
||||||
caveats: "Use hway to interact with the Sonr network"
|
|
||||||
homepage: "https://sonr.io/"
|
|
||||||
description: "Motr is a proxy for interacting with the Sonr network."
|
|
||||||
dependencies:
|
|
||||||
- name: ipfs
|
|
||||||
repository:
|
|
||||||
owner: onsonr
|
|
||||||
name: homebrew-tap
|
|
||||||
branch: master
|
|
||||||
|
|
||||||
# .goreleaser.yaml
|
# .goreleaser.yaml
|
||||||
dockers:
|
dockers:
|
||||||
- # Sonr Binary
|
- # Sonr Binary
|
||||||
@@ -116,22 +72,6 @@ dockers:
|
|||||||
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
||||||
- "--label=org.opencontainers.image.version={{.Version}}"
|
- "--label=org.opencontainers.image.version={{.Version}}"
|
||||||
|
|
||||||
- # Motr Binary
|
|
||||||
id: hway
|
|
||||||
goos: linux
|
|
||||||
goarch: amd64
|
|
||||||
ids:
|
|
||||||
- hway
|
|
||||||
image_templates:
|
|
||||||
- "onsonr/hway:latest"
|
|
||||||
- "onsonr/hway:{{ .Tag }}"
|
|
||||||
dockerfile: "./deploy/hway.Dockerfile"
|
|
||||||
build_flag_templates:
|
|
||||||
- "--label=org.opencontainers.image.created={{.Date}}"
|
|
||||||
- "--label=org.opencontainers.image.title=hway"
|
|
||||||
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
|
|
||||||
- "--label=org.opencontainers.image.version={{.Version}}"
|
|
||||||
|
|
||||||
announce:
|
announce:
|
||||||
telegram:
|
telegram:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
FROM scratch
|
|
||||||
ENTRYPOINT ["/hway"]
|
|
||||||
COPY hway /
|
|
||||||
Reference in New Issue
Block a user