1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-11-23 21:44:44 +02:00

Pipeline compiler should not alter specified image (#1005)

* pipeline compiler should not alter specifyed image

adress #1003
This commit is contained in:
6543
2022-08-26 20:00:11 +02:00
committed by GitHub
parent f21d854114
commit 9a57602174
3 changed files with 5 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ func (e *local) Exec(ctx context.Context, proc *types.Step) error {
Command = append(Command, "plugin-git")
} else {
// Use "image name" as run command
Command = append(Command, proc.Image[18:len(proc.Image)-7])
Command = append(Command, proc.Image)
Command = append(Command, "-c")
// Decode script and delete initial lines