Skip to content

Commit

Permalink
refactor: rename sonrd dockerfile to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Oct 8, 2024
1 parent c983b77 commit 81c800c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 63 deletions.
60 changes: 0 additions & 60 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,6 @@ builds:
ldflags:
- -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:
- id: sonr
builds: [sonr]
Expand All @@ -43,14 +23,6 @@ archives:
- src: README*
- 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:
github:
owner: onsonr
Expand Down Expand Up @@ -82,22 +54,6 @@ brews:
branch: master
token: "{{ .Env.GITHUB_PERSONAL_AUTH_TOKEN }}"

- name: hway
ids: [hway]
commit_author:
name: goreleaserbot
email: [email protected]
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
dockers:
- # Sonr Binary
Expand All @@ -116,22 +72,6 @@ dockers:
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--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:
telegram:
enabled: true
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions deploy/hway.Dockerfile

This file was deleted.

0 comments on commit 81c800c

Please sign in to comment.