Lab base rev1.1 (#60) #13
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
--- | |
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.10.2", "python3.11-avd-v5.0.0"] | |
clab_version: ["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.1" |