Add export and load for dagger images

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia
2022-03-24 11:59:05 -01:00
parent e46acc8053
commit 7a8153910c
15 changed files with 488 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ type Context struct {
Platform *platformContext
FS *fsContext
LocalDirs *localDirContext
TempDirs *tempDirContext
Secrets *secretContext
Services *serviceContext
}
@@ -25,6 +26,9 @@ func New() *Context {
LocalDirs: &localDirContext{
store: []string{},
},
TempDirs: &tempDirContext{
store: make(map[string]string),
},
Secrets: &secretContext{
store: make(map[string]*Secret),
},