You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our Docker builder's secret object takes a dst field (#4731), but it is not supported by docker build --secret: that field is actually specified from within the Dockerfile.
$ skaffold build
Starting build...
Building [skaffold-example]...
could not parse secrets: [id=npmrc,src=/Users/bdealwis/.npmrc,dst=/app/npmrc]: unexpected key 'dst' in 'dst=/app/npmrc'
running build: exit status 1
$ docker build --secret id=npmrc,src=$HOME/.npmrc,dst=/app/npmrc .
could not parse secrets: [id=npmrc,src=/Users/bdealwis/.npmrc,dst=/app/npmrc]: unexpected key 'dst' in 'dst=/app/npmrc'
Information
Skaffold version: 1.23.0
The text was updated successfully, but these errors were encountered:
Our Docker builder's
secret
object takes adst
field (#4731), but it is not supported bydocker build --secret
: that field is actually specified from within theDockerfile
.Expected behavior
Using a filled in
secret
should succeed:Actual behavior
Information
The text was updated successfully, but these errors were encountered: