Skip to content

Build ethereumjs docker image #22

Build ethereumjs docker image

Build ethereumjs docker image #22

name: Build ethereumjs docker image
on:
workflow_dispatch:
inputs:
repository:
description: The source ethereumjs repository to build from
default: ethereumjs/ethereumjs-monorepo
type: string
required: true
ref:
description: The branch, tag or SHA to checkout and build from
default: master
type: string
required: true
docker_tag:
description: Override target docker tag (defaults to the above source ref if left blank)
type: string
required: false
runs_on:
description: The runner to use
type: choice
required: true
default: ubuntu-latest
options:
- ubuntu-latest
- services-medium-cpu
jobs:
ethereumjs:
runs-on: ${{ inputs.runs_on }}
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-deps
with:
repository: ${{ inputs.repository }}
- uses: ./.github/actions/deploy
with:
source_repository: ${{ inputs.repository }}
source_ref: ${{ inputs.ref }}
target_tag: ${{ inputs.docker_tag || inputs.ref }}
target_repository: ethpandaops/ethereumjs
target_dockerfile: ./ethereumjs/Dockerfile
DOCKER_USERNAME: "${{ vars.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"