Skip to content

Commit c4e6cfe

Browse files
authored
just: Fix docker tag formatting (#2312)
The justfile does not properly escape tags with multiple slashes. This change updates the sed command to use a global replace.
1 parent 3dec105 commit c4e6cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ package_version := `git rev-parse --short HEAD`
2020

2121
# Docker image name & tag.
2222
docker-repo := "localhost/linkerd/proxy"
23-
docker-tag := `git rev-parse --abbrev-ref HEAD | sed 's|/|.|'` + "." + `git rev-parse --short HEAD`
23+
docker-tag := `git rev-parse --abbrev-ref HEAD | sed 's|/|.|g'` + "." + `git rev-parse --short HEAD`
2424
docker-image := docker-repo + ":" + docker-tag
2525

2626
# The architecture name to use for packages. Either 'amd64', 'arm64', or 'arm'.

0 commit comments

Comments
 (0)