Skip to content

Merge pull request #43 from ankudinov/rename-lab-container #9

Merge pull request #43 from ankudinov/rename-lab-container

Merge pull request #43 from ankudinov/rename-lab-container #9

---
name: build techlib-labs containers
on:
push:
branches: ['**'] # branches will be filtered in the jobs
paths:
- .github/workflows/container_build_child.yml
- .github/workflows/container_build_parent_matrix.yml
- containers/lab-base/**
workflow_dispatch:
branches: ['**'] # branches will be filtered in the jobs
permissions:
packages: write
jobs:
build-lab-containers:
# fork - build container from any branch for testing
# parent repo - build on main branch only
if: github.repository != 'aristanetworks/acLabs' || github.ref == 'refs/heads/main'
uses: ./.github/workflows/container_build_child.yml
strategy:
matrix:
from_image: ["ghcr.io/aristanetworks/avd/universal"]
from_variant: ["python3.11-avd-v4.9.0", "python3.11-avd-v4.10.0", "python3.11-avd-v4.10.2"]
clab_version: ["0.54.2", "0.56.0", "0.57.5"]
with:
from_image: ${{ matrix.from_image }}
from_variant: ${{ matrix.from_variant }}
clab_version: ${{ matrix.clab_version }}
# the rev number will be updated with each run
container_revision: "${{ github.run_number }}"