Skip to content

Port core.#Pull to Dagger Engine 0.3 #3240

Closed

Description

@jlongtine

Sub-issue of #3121

#Pull: {
	$dagger: task: _name: "Pull"

	// Repository source ref
	source: #Ref

	// Authentication
	// You can alternatively set DOCKERHUB_AUTH_USER and DOCKERHUB_AUTH_PASSWORD env vars on your host
	// However, these global env vars only work for the "docker.io" registry
	auth?: {
		username: string
		secret:   dagger.#Secret
	} @cloak(notimplemented)

	// When to pull the image
	resolveMode: *"default" | "forcePull" | "preferLocal" @cloak(notimplemented)

	// Root filesystem of downloaded image
	output: dagger.#FS @dagger(generated)

	// Image digest
	digest: string @dagger(generated) @cloak(notimplemented)

	// Downloaded container image config
	config: #ImageConfig @dagger(generated)
}

auth, digest, and config aren't available.

Europa Dagger 0.3 dagger-classic implemented
source: #Ref ✅ container { from(address: "alpine") { ... } } ✅
auth?: {
  username: string
  secret: dagger.#Secret
}
❌ ❌
resolveMode: *"default" | "forcePull" | "preferLocal" ❌ ❌
digest: string ❌ ❌
config: #ImageConfig ❌ ❌

Activity

  1. self-assigned this
    on Oct 4, 2022
  2. changed the title [-]Port `core.#Pull` to `cloak`[/-] [+]Port `core.#Pull` to Dagger Engine 0.3[/+] on Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions