Skip to content

feat: add onchain delegation #7

feat: add onchain delegation

feat: add onchain delegation #7

Workflow file for this run

name: Build
on:
push:
branches:
- taiyi
pull_request:
types: [closed]
branches:
- taiyi
jobs:
build:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/helix:latest
${{ secrets.DOCKER_USERNAME }}/helix:${{ github.sha }}