Skip to content

Merge pull request #1 from lidofinance/feat/ci-workflow #1

Merge pull request #1 from lidofinance/feat/ci-workflow

Merge pull request #1 from lidofinance/feat/ci-workflow #1

name: build and push image
on:
push:
tags:
- '*'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to ghcr.io
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/[email protected]
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/lidofinance/hardhat-node:${{ github.ref_name }}