Skip to content

Commit

Permalink
Create deploy-hardhat.yml
Browse files Browse the repository at this point in the history
Starting deployment workflow for hardhat.
  • Loading branch information
san-est authored Jun 14, 2024
1 parent 42cf04a commit e788f8e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/deploy-hardhat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Deploying hardhat

on:
pull_request:
branches: ["master"]

workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: san-est/go-ethereum-devops

jobs:
deploy-hardhat:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- uses: actions/checkout@v4

- name: Login to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

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

- name: Pull image
run: docker pull ghcr.io/san-est/go-ethereum-devops:9

- name: Running image container
run: docker run -d -name devnet -p 8545:8545 -v

0 comments on commit e788f8e

Please sign in to comment.