This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/docs/references/1222-core-actions-reference.md
user.email d20ffbe8be website: hardcode version banner for 0.1 docs
O.1 docs is deprecated. Let's inform user to switch the the latest version

Signed-off-by: user.email <jf@dagger.io>
2022-04-13 15:58:51 +02:00

5.3 KiB

slug displayed_sidebar
/1222/core-actions-reference 0.2

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:

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
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
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
Definition File Description
#GitPull git.cue Download a repository from a remote git server
#HTTPFetch http.cue Get a file from an HTTP server