Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Nov 19, 2024
1 parent 7508f39 commit e41ecd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/actions/runWorkflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,11 @@ func addDirectModeBranchTagging() error {
if specificTarget := environment.SpecifiedTarget(); specificTarget != "" {
if target, ok := wf.Targets[specificTarget]; ok {
if source, ok := wf.Sources[target.Source]; ok && source.Registry != nil {
sources = append(sources, target.Source)
sources = append(sources, "test")
}

if target.CodeSamples != nil && target.CodeSamples.Registry != nil {
targets = append(targets, specificTarget)
targets = append(targets, "test")
}
}
} else {
Expand Down

0 comments on commit e41ecd9

Please sign in to comment.