fix: skip service container for empty image (#2281)
* fix: skip service container for empty image It is used to skip empty image name in services which is the only way to handle condition services in github action currently https://github.com/actions/runner/issues/822 * test: add testdata for empty image in services * fix: add missing test call * fix: wring test call * fix: invalid without expression --------- Co-authored-by: ChristopherHX <christopher.homberger@web.de>
This commit is contained in:
@@ -314,6 +314,7 @@ func TestRunEvent(t *testing.T) {
|
||||
|
||||
// services
|
||||
{workdir, "services", "push", "", platforms, secrets},
|
||||
{workdir, "services-empty-image", "push", "", platforms, secrets},
|
||||
{workdir, "services-host-network", "push", "", platforms, secrets},
|
||||
{workdir, "services-with-container", "push", "", platforms, secrets},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user