Skip to content

Commit

Permalink
flow auto release (#127) (#129)
Browse files Browse the repository at this point in the history
(cherry picked from commit e8d1ffc)

Co-authored-by: ChainDev <[email protected]>
  • Loading branch information
mergify[bot] and ChainDev931105 authored Jun 13, 2024
1 parent 107a510 commit 1ee43c5
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,41 @@ jobs:
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.new_tag.outputs.tag }}
release_name: ${{ steps.get_pr_details.outputs.title }}
draft: false
prerelease: false

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Deploy to local image
run: |
npm install
forge build --sizes
make clean
make deploy-eigen-localnet
make stop
make give-permission
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
context: ./docker
platforms: linux/amd64,linux/arm64
push: true
tags: |
lagrangelabs/lagrange-contracts:${{ steps.new_tag.outputs.tag }}

0 comments on commit 1ee43c5

Please sign in to comment.