Build base development images #46
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.- .-.-. .-.-. .-.- | |
# / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ / / \ \ / / \ \ / / \ | |
# `-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-' `-`-' `-`-' | |
# | |
# Reusable workflow that publishes base development docker images | |
# | |
# .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.- .-.-. .-.-. .-.- | |
# / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ / / \ \ / / \ \ / / \ | |
# `-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-' `-`-' `-`-' | |
name: Build base development images | |
on: | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
build-base: | |
name: Build base image | |
runs-on: ubuntu-latest-16xlarge | |
permissions: | |
contents: read | |
packages: write | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- linux/amd64 | |
- linux/arm64 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build image | |
uses: ./.github/workflows/actions/docker-build-image | |
with: | |
image: devtools-dev-base | |
target: base | |
platform: ${{ matrix.platform }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
build-node-evm: | |
name: Build EVM node image | |
runs-on: ubuntu-latest-16xlarge | |
needs: | |
- build-base | |
permissions: | |
contents: read | |
packages: write | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- linux/amd64 | |
- linux/arm64 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build image | |
uses: ./.github/workflows/actions/docker-build-image | |
with: | |
image: devtools-dev-node-evm-hardhat | |
target: node-evm-hardhat | |
platform: ${{ matrix.platform }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
push-base: | |
name: Push base image | |
runs-on: ubuntu-latest-4xlarge | |
needs: | |
- build-base | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Push image | |
uses: ./.github/workflows/actions/merge-docker-image | |
with: | |
image: devtools-dev-base | |
platform: ${{ matrix.platform }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
push-node-evm: | |
name: Push EVM node image | |
runs-on: ubuntu-latest-4xlarge | |
needs: | |
- build-node-evm | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Push image | |
uses: ./.github/workflows/actions/merge-docker-image | |
with: | |
image: devtools-dev-node-evm-hardhat | |
platform: ${{ matrix.platform }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} |