Skip to content

Always push dev image (#59) #12

Always push dev image (#59)

Always push dev image (#59) #12

---
name: build lab-base images
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", "python3.11-avd-v5.0.0"]
clab_version: ["0.54.2", "0.56.0", "0.57.5", "0.59.0"]
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: "1.0"