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"
"universe.dagger.io/docker"
)
@@ -43,7 +44,7 @@ dagger.#Plan & {
// Test: image config behavior is correct
config: {
build: dagger.#Dockerfile & {
build: core.#Dockerfile & {
source: dagger.#Scratch
dockerfile: contents: """
FROM alpine:3.15.0
@@ -71,7 +72,7 @@ dagger.#Plan & {
contents: """
#!/bin/sh
echo -n "hello from $HELLO_FROM" > /dagger.txt
"""
}
}