Skip to content

Commit

Permalink
bug(gcp image): add url encoded slash
Browse files Browse the repository at this point in the history
  • Loading branch information
mahad-akhter committed Oct 30, 2023
1 parent bc0ecc8 commit ede6ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/activities.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func ParseArtifactRegistryImage(image string) (*ArtifactRegistryImage, error) {
// result[3] = helloworld:1hd29h
result[len(result)-1] = strings.Split(result[len(result)-1], ":")[0]
resultSlice := result[3:]
arImage.Pkg = strings.Join(resultSlice, "/") // helloworld
arImage.Pkg = strings.Join(resultSlice, "%2F") // helloworld

return arImage, nil
}

0 comments on commit ede6ce5

Please sign in to comment.