Skip to content

Commit

Permalink
Merge branch 'tag-digest-regex-change' into update-go-1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
gbates101 committed Oct 31, 2024
2 parents 9f575ba + 2775a6a commit d718882
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/image_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (

var (
TemplateRegex = regexp.MustCompile(`{{\s*(.*?)\s*}}`)
TagRegex = regexp.MustCompile(`:{{\s*(.*?)\s*}}`)
DigestRegex = regexp.MustCompile(`@{{\s*(.*?)\s*}}`)
TagOrDigestRegex = regexp.MustCompile(`[:|@]{{.*?}}`)
TagRegex = regexp.MustCompile(`:(.*)`)
DigestRegex = regexp.MustCompile(`@(.*)`)
TagOrDigestRegex = regexp.MustCompile(`[:|@].*`)
)

type ImageTemplate struct {
Expand Down

0 comments on commit d718882

Please sign in to comment.