Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert nightly releases #202

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .github/workflows/release-nightly.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@ jobs:
- name: Create release
run: make release
env:
GORELEASER_KEY: ${{ secrets.GORELEASERPRO_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.ref_name }}
33 changes: 6 additions & 27 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,8 @@ dockers:
- --platform=linux/amd64
image_templates:
- "flashbots/suave-geth:{{ .ShortCommit }}-amd64"
- "flashbots/suave-geth:v{{ .Version }}-amd64"
{{- if .IsNightly }}
- flashbots/suave-geth:latest-nightly-amd64
{{ else }}
- flashbots/suave-geth:latest-amd64
{{- end }}
- "flashbots/suave-geth:{{ .Tag }}-amd64"
- "flashbots/suave-geth:latest-amd64"
- dockerfile: ./Dockerfile.suave
use: buildx
goarch: arm64
Expand All @@ -110,12 +106,8 @@ dockers:
- --platform=linux/arm64
image_templates:
- "flashbots/suave-geth:{{ .ShortCommit }}-arm64"
- "flashbots/suave-geth:v{{ .Version }}-arm64"
{{- if .IsNightly }}
- flashbots/suave-geth:latest-nightly-arm64
{{ else }}
- flashbots/suave-geth:latest-arm64
{{- end }}
- "flashbots/suave-geth:{{ .Tag }}-arm64"
- "flashbots/suave-geth:latest-arm64"

docker_manifests:
- name_template: "flashbots/suave-geth:{{ .ShortCommit }}"
Expand All @@ -126,23 +118,10 @@ docker_manifests:
image_templates:
- "flashbots/suave-geth:{{ .Tag }}-amd64"
- "flashbots/suave-geth:{{ .Tag }}-arm64"
{{- if .IsNightly }}
- name_template: "flashbots/suave-geth:latest-nightly"
image_templates:
- "flashbots/suave-geth:latest-nightly-amd64"
- "flashbots/suave-geth:latest-nightly-arm64"
{{ else }}
- name_template: "flashbots/suave-geth:latest"
image_templates:
- "flashbots/suave-geth:latest-amd64"
- "flashbots/suave-geth:latest-arm64"
{{- end }}

nightly:
name_template: "{{ incpatch .Version }}-nightly"
tag_name: latest-nightly
publish_release: true
keep_single_release: true
- "flashbots/suave-geth:latest-amd64"
- "flashbots/suave-geth:latest-arm64"

checksum:
name_template: "checksums.txt"
Expand Down
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,14 @@ fmt-contracts:
cd suave && forge fmt

release:
./scripts/release.sh
docker run \
--rm \
-e CGO_ENABLED=1 \
-e GITHUB_TOKEN="$(GITHUB_TOKEN)" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $(HOME)/.docker/config.json:/root/.docker/config.json \
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-v `pwd`/sysroot:/sysroot \
-w /go/src/$(PACKAGE_NAME) \
ghcr.io/goreleaser/goreleaser-cross:v1.19.5 \
release --clean --auto-snapshot
22 changes: 0 additions & 22 deletions scripts/release.sh

This file was deleted.

Loading