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
I know know after studying the code and the latest changes to the manual that I can simply omit thetype=env
but I still think that this case should be fixed.
The text was updated successfully, but these errors were encountered:
@r10r
How is omitting the type=env solving your problem? If I try to pass a secret from an env variable to the buildah bud I get the following error: error creating build executor: incorrect secret flag format: should be --secret id=foo,src=bar
When playing with secrets I first passed with the following options:
MYSECRET=foobar buildah bud --secret id=MYSECRET,type=env
But the secret file is empty. Seems there is a missing case in https://github.com/containers/buildah/blob/release-1.37/pkg/parse/parse.go#L1264 that checks for
type=env
.I know know after studying the code and the latest changes to the manual that I can simply omit the
type=env
but I still think that this case should be fixed.
The text was updated successfully, but these errors were encountered: