Skip to content

Merge pull request #33 from bitfinity-network/fix/forward-gas-endpoints #12

Merge pull request #33 from bitfinity-network/fix/forward-gas-endpoints

Merge pull request #33 from bitfinity-network/fix/forward-gas-endpoints #12

name: 'Bitfinity - Deploy Reth to GHCR'
on:
workflow_dispatch: {}
push:
branches: [bitfinity-archive-node]
tags:
- 'v*'
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
packages: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
IMAGE_NAME: bitfinity-reth
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: gh-meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image to GitHub Container Registry
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.gh-meta.outputs.tags }}