From 81c800ce549735918b5985cb67c0a72e6b714125 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Tue, 8 Oct 2024 00:51:06 -0400 Subject: [PATCH] refactor: rename sonrd dockerfile to Dockerfile --- .goreleaser.yaml | 60 ------------------------- deploy/{sonrd.Dockerfile => Dockerfile} | 0 deploy/hway.Dockerfile | 3 -- 3 files changed, 63 deletions(-) rename deploy/{sonrd.Dockerfile => Dockerfile} (100%) delete mode 100644 deploy/hway.Dockerfile diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 097b3df21..53cbb2f01 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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] @@ -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 @@ -82,22 +54,6 @@ brews: branch: master 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 dockers: - # Sonr Binary @@ -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 diff --git a/deploy/sonrd.Dockerfile b/deploy/Dockerfile similarity index 100% rename from deploy/sonrd.Dockerfile rename to deploy/Dockerfile diff --git a/deploy/hway.Dockerfile b/deploy/hway.Dockerfile deleted file mode 100644 index d23a0120d..000000000 --- a/deploy/hway.Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM scratch -ENTRYPOINT ["/hway"] -COPY hway /