fix: Set step id for image pushin build_workflow (#693)
Co-authored-by: okozachenko1203 <okozachenko1203@users.noreply.github.com>
diff --git a/internal/pkg/image_repositories/build_workflow.go b/internal/pkg/image_repositories/build_workflow.go
index abdfacb..39bf480 100644
--- a/internal/pkg/image_repositories/build_workflow.go
+++ b/internal/pkg/image_repositories/build_workflow.go
@@ -292,6 +292,7 @@
{
Name: "Build image",
Uses: "docker/build-push-action@v3",
+ Id: "push-step",
Environment: map[string]string{
"DOCKER_CONTENT_TRUST": "1",
},
diff --git a/internal/pkg/image_repositories/github_workflow.go b/internal/pkg/image_repositories/github_workflow.go
index 59aa047..2dc876d 100644
--- a/internal/pkg/image_repositories/github_workflow.go
+++ b/internal/pkg/image_repositories/github_workflow.go
@@ -85,6 +85,7 @@
type GithubWorkflowStep struct {
Name string `yaml:"name"`
+ Id string `yaml:"id,omitempty"`
Run string `yaml:"run,omitempty"`
Uses string `yaml:"uses,omitempty"`
If string `yaml:"if,omitempty"`