Move core actions to a subpackage

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia
2022-03-26 14:09:21 -01:00
parent 9f042800da
commit b3bdd347e7
121 changed files with 469 additions and 340 deletions

View File

@@ -2,6 +2,7 @@ package docker
import (
"dagger.io/dagger"
"dagger.io/dagger/core"
)
// Modular build API for Docker containers
@@ -46,7 +47,7 @@ import (
dest: string | *"/"
// Execute copy operation
_copy: dagger.#Copy & {
_copy: core.#Copy & {
"input": input.rootfs
"contents": contents
"source": source
@@ -83,7 +84,7 @@ import (
label: [string]: string
hosts: [string]: string
_build: dagger.#Dockerfile & {
_build: core.#Dockerfile & {
"source": source
"auth": auth
"dockerfile": dockerfile