jsloan117 / test-templates

repo to test out github workflows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test-templates

useful cmd

gh cache ls --json id -q '.[].id' | %{ gh cache delete $_ }

ideal case

PR to dev -> PR dev to main -> tag_release workflow triggers (creating tag/release) -> Once release is created trigger docker-build.yml workflow

when should docker-build.yml trigger?

It should trigger when a release is created, and when PRs are created/updated

The only time a container image should be pushed to a registry is when a release occurs or if the branch is dev.

About

repo to test out github workflows

License:MIT License


Languages

Language:Dockerfile 89.0%Language:Shell 11.0%