Skip to content

Build base development images #44

Build base development images

Build base development images #44

# .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.- .-.-. .-.-. .-.-
# / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ / / \ \ / / \ \ / / \
# `-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-' `-`-' `-`-'
#
# 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 }}
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
target: base
platform: ${{ matrix.platform }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}