Skip to content

fix: don't do exponential funding #12

fix: don't do exponential funding

fix: don't do exponential funding #12

Workflow file for this run

name: release
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
release-backend:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup go dependencies
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: setup quemu
uses: docker/setup-qemu-action@v3
- name: setup docker buildx
uses: docker/setup-buildx-action@v3
- name: login to docker hub
uses: docker/login-action@v2
with:
username: ${{ secrets.FLASHBOTS_DOCKERHUB_USERNAME }}
password: ${{ secrets.FLASHBOTS_DOCKERHUB_TOKEN }}
- name: login to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build and publish backend release
uses: goreleaser/goreleaser-action@v5
with:
args: release --clean
distribution: goreleaser
workdir: ./backend
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release-frontend:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup go dependencies
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: setup quemu
uses: docker/setup-qemu-action@v3
- name: setup docker buildx
uses: docker/setup-buildx-action@v3
- name: login to docker hub
uses: docker/login-action@v2
with:
username: ${{ secrets.FLASHBOTS_DOCKERHUB_USERNAME }}
password: ${{ secrets.FLASHBOTS_DOCKERHUB_TOKEN }}
- name: login to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build and publish frontend release
uses: docker/build-push-action@v5
with:
context: ./frontend
platforms: linux/amd64,linux/arm64
push: true
tags: flashbots/eth-faucet-frontend:${{ github.ref_name }},ghcr.io/flashbots/eth-faucet-frontend:${{ github.ref_name }}