os.#File: simplify API

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes
2021-06-09 18:37:05 +00:00
committed by Solomon Hykes
parent 9984edad09
commit 9d85bab9e7
9 changed files with 86 additions and 25 deletions

View File

@@ -40,7 +40,7 @@ import (
from: ctr
path: "/netlify/url"
}
}.read.data @dagger(output)
}.contents @dagger(output)
// Unique Deploy URL
deployUrl: {
@@ -48,7 +48,7 @@ import (
from: ctr
path: "/netlify/deployUrl"
}
}.read.data @dagger(output)
}.contents @dagger(output)
// Logs URL for this deployment
logsUrl: {
@@ -56,7 +56,7 @@ import (
from: ctr
path: "/netlify/logsUrl"
}
}.read.data @dagger(output)
}.contents @dagger(output)
ctr: os.#Container & {
image: alpine.#Image & {