os.#Container: mount secrets with a more consistent API

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes
2021-06-23 10:46:56 +00:00
committed by Solomon Hykes
parent 9d85bab9e7
commit aa6335246b
6 changed files with 69 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ import (
NETLIFY_ACCOUNT: account.name
}
dir: "/src"
mount: "/src": from: contents
mount: "/run/secrets/token": secret: account.token
mount: "/src": from: contents
secret: "/run/secrets/token": account.token
}
}