Skip to content

Merge pull request #18 from ankudinov/fix-workflow-name #2

Merge pull request #18 from ankudinov/fix-workflow-name

Merge pull request #18 from ankudinov/fix-workflow-name #2

---
name: Create pre-built container for acLabs development
on:
push:
branches: ['**'] # branches will be filtered in the jobs
paths:
- .github/workflows/container_build_acl_dev.yml
- .github/workflows/container_build_child.yml
- containers/acl-dev/**
workflow_dispatch:
branches: ['**'] # branches will be filtered in the jobs
jobs:
build-demo-container:
# 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
with:
container_name: "acl-dev"
image_tags: "latest"
from_image: "mcr.microsoft.com/devcontainers/base"
from_variant: "ubuntu-22.04"
username: "vscode"