1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-19 07:09:18 +00:00

kaniko: fix bug with missing path

This commit is contained in:
Jason Hall 2020-12-23 11:04:14 -05:00
parent fda5c45132
commit 12475d4aee

View file

@ -286,8 +286,8 @@ mkdir -p ~/.docker/ && cat > ~/.docker/config.json << EOF
EOF`, tok.AccessToken), EOF`, tok.AccessToken),
fmt.Sprintf(` fmt.Sprintf(`
/kaniko/executor --force \ /kaniko/executor --force \
--dockerfile=%s/Dockerfile \ --dockerfile=./%s/Dockerfile \
--context=%s \ --context=./%s \
--destination=%s \ --destination=%s \
--cache-repo=gcr.io/%s`, path, path, image, projectID), --cache-repo=gcr.io/%s`, path, path, image, projectID),
} { } {