It would be awesome if ee-action-buildpack the halfpipe task buildpack would emit a repository_dispatch event of type "docker-push:$image" so that docker trigger also works with CNB.
I think this would be the minimal fix:
diff --git a/renderers/actions/buildpack.go b/renderers/actions/buildpack.go
index 3a3e71be..ae2a4502 100644
--- a/renderers/actions/buildpack.go
+++ b/renderers/actions/buildpack.go
@@ -34,5 +34,5 @@ func (a *Actions) buildpackSteps(task manifest.Buildpack) (steps Steps) {
},
}
- return Steps{step}
+ return Steps{step, repositoryDispatch(task.Image)}
}
Use case: two pipelines, one which builds an application image, a second one which deploys the Katee application if the image has changed.
Example:
It would be awesome if
ee-action-buildpackthe halfpipe taskbuildpackwould emit a repository_dispatch event of type "docker-push:$image" so thatdockertrigger also works with CNB.I think this would be the minimal fix:
Use case: two pipelines, one which builds an application image, a second one which deploys the Katee application if the image has changed.
Example: