Build/Rocker.GitHubWorkflow.PSDevOps.ps1
#requires -Module PSDevOps Import-BuildStep -SourcePath ( Join-Path $PSScriptRoot 'GitHub' ) -BuildSystem GitHubWorkflow Push-Location ($PSScriptRoot | Split-Path) New-GitHubWorkflow -Name "Analyze, Test, Tag, and Publish" -On Push, PullRequest, Demand -Job TestPowerShellOnLinux, TagReleaseAndPublish, BuildRocker -OutputPath .\.github\workflows\BuildRocker.yml -Environment ([Ordered]@{ REGISTRY = 'ghcr.io' IMAGE_NAME = '${{ github.repository }}' }) Pop-Location |