938658eeff
Signed-off-by: Solomon Hykes <solomon@dagger.io>
5.8 KiB
5.8 KiB
slug | displayed_sidebar |
---|---|
/1222/core-actions-reference | europa |
Core Actions Reference
Core Actions are primitives implemented by the Dagger Engine itself. They can be combined into higher-level composite actions. Their definitions can be imported in the dagger.io/dagger/core
package.
For more information about Dagger Actions, see Dagger Actions.
The following core actions are available:
Core Actions related to filesystem trees
Definition | File | Description |
---|---|---|
#Copy |
fs.cue | Copy files between two filesystem trees |
#Diff |
fs.cue | Extract the difference between two filesystems as its own file system |
#Merge |
fs.cue | Merge multiple filesystem trees |
#Mkdir |
fs.cue | Create a directory in a filesystem tree |
#ReadFile |
fs.cue | Read a file from a filesystem tree |
#Scratch |
fs.cue | Create an empty filesystem tree |
#Source |
fs.cue | Access the source for the current CUE package |
#Subdir |
fs.cue | Read a subdirectory from a filesystem tree |
#WriteFile |
fs.cue | Write a file to a filesystem tree |
Core Actions related to secrets
Definition | File | Description |
---|---|---|
#DecodeSecret |
secrets.cue | Decode a secret without leaking its contents |
#NewSecret |
secrets.cue | Create a new a secret from a filesystem tree |
#TrimSecret |
secrets.cue | Trim leading and trailing space characters from a secret |
Core Actions related to containers
Definition | File | Description |
---|---|---|
#Dockerfile |
image.cue | Build a container image using a Dockerfile |
#Exec |
exec.cue | Execute a command in a docker-compatible container |
#Export |
image.cue | Export a docker image as a tar archive |
#Pull |
image.cue | Download an image from a docker registry |
#Push |
image.cue | Upload an image to a docker registry |
#Set |
image.cue | Modify a docker image config |
Core Actions related to remote data sources
Definition | File | Description |
---|---|---|
#GitPull |
git.cue | Download a repository from a remote git server |
#HTTPFetch |
http.cue | Get a file from an HTTP server |