Dagger
Search

apko

Builds containers using the Apko CLI

Installation

dagger install github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c

Entrypoint

Return Type
Apko !
Arguments
NameTypeDescription
imageString !Apko image
registryString No description provided
usernameString No description provided
passwordSecret No description provided
userString No description provided
containerContainer No description provided
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 --image string
func (m *myModule) example(image string) *Apko  {
	return dag.
			Apko(image)
}
@function
def example(image: str, ) -> dag.Apko:
	return (
		dag.apko(image)
	)
@func()
example(image: string, ): Apko {
	return dag
		.apko(image)
}

Types

Image 🔗

Apko Image module

registryUsername() 🔗

Return Type
String 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 registry-username
func (m *myModule) example(ctx context.Context, tag string, context *Directory, image []string) string  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			RegistryUsername(ctx)
}
@function
async def example(tag: str, context: dagger.Directory, image: List[str]) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.registry_username()
	)
@func()
async example(tag: string, context: Directory, image: string[]): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.registryUsername()
}

registryPassword() 🔗

Return Type
Secret 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 registry-password
func (m *myModule) example(tag string, context *Directory, image []string) *Secret  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			RegistryPassword()
}
@function
def example(tag: str, context: dagger.Directory, image: List[str]) -> dagger.Secret:
	return (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.registry_password()
	)
@func()
example(tag: string, context: Directory, image: string[]): Secret {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.registryPassword()
}

container() 🔗

Return Type
Container 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 container
func (m *myModule) example(tag string, context *Directory, image []string) *Container  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			Container()
}
@function
def example(tag: str, context: dagger.Directory, image: List[str]) -> dagger.Container:
	return (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.container()
	)
@func()
example(tag: string, context: Directory, image: string[]): Container {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.container()
}

platforms() 🔗

Retrieves image platforms

Return Type
[Scalar ! ] !
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 platforms
func (m *myModule) example(tag string, context *Directory, image []string) []  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			Platforms()
}
@function
def example(tag: str, context: dagger.Directory, image: List[str]) -> List[]:
	return (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.platforms()
	)
@func()
example(tag: string, context: Directory, image: string[]): [] {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.platforms()
}

ref() 🔗

Retrieves the fully qualified image ref

Return Type
String !
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 ref
func (m *myModule) example(ctx context.Context, tag string, context *Directory, image []string) string  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			Ref(ctx)
}
@function
async def example(tag: str, context: dagger.Directory, image: List[str]) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.ref()
	)
@func()
async example(tag: string, context: Directory, image: string[]): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.ref()
}

digest() 🔗

Retrieves the image digest

Return Type
String !
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 digest
func (m *myModule) example(ctx context.Context, tag string, context *Directory, image []string) string  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			Digest(ctx)
}
@function
async def example(tag: str, context: dagger.Directory, image: List[str]) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.digest()
	)
@func()
async example(tag: string, context: Directory, image: string[]): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.digest()
}

registry() 🔗

Retrieves the registry host from image address

Return Type
String !
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 registry
func (m *myModule) example(ctx context.Context, tag string, context *Directory, image []string) string  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			Registry(ctx)
}
@function
async def example(tag: str, context: dagger.Directory, image: List[str]) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.registry()
	)
@func()
async example(tag: string, context: Directory, image: string[]): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.registry()
}

tag() 🔗

Tag image

Return Type
String !
Arguments
NameTypeDefault ValueDescription
tagString !-Tag
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 tag --tag string
func (m *myModule) example(ctx context.Context, tag string, context *Directory, image []string, tag1 string) string  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			Tag(ctx, tag1)
}
@function
async def example(tag: str, context: dagger.Directory, image: List[str], tag1: str) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.tag(tag1)
	)
@func()
async example(tag: string, context: Directory, image: string[], tag1: string): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.tag(tag1)
}

withTag() 🔗

Tag image (for chaining)

Return Type
Image !
Arguments
NameTypeDefault ValueDescription
tagString !-Tag
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 with-tag --tag string
func (m *myModule) example(tag string, context *Directory, image []string, tag1 string) *ApkoImage  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			WithTag(tag1)
}
@function
def example(tag: str, context: dagger.Directory, image: List[str], tag1: str) -> dag.ApkoImage:
	return (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.with_tag(tag1)
	)
@func()
example(tag: string, context: Directory, image: string[], tag1: string): ApkoImage {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.withTag(tag1)
}

scan() 🔗

Scan image using Grype

Return Type
String !
Arguments
NameTypeDefault ValueDescription
failOnString nullNo description provided
outputFormatString !"table"Report output formatter
outputFileString nullNo description provided
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 scan --output-format string
func (m *myModule) example(ctx context.Context, tag string, context *Directory, image []string, outputFormat string) string  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			Scan(ctxoutputFormat)
}
@function
async def example(tag: str, context: dagger.Directory, image: List[str], output_format: str) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.scan(output_format)
	)
@func()
async example(tag: string, context: Directory, image: string[], outputFormat: string): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.scan(outputFormat)
}

withScan() 🔗

Scan image using Grype (for chaining)

Return Type
Image !
Arguments
NameTypeDefault ValueDescription
failOnString nullNo description provided
outputFormatString !"table"Report output formatter
outputFileString nullNo description provided
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 with-scan --output-format string
func (m *myModule) example(tag string, context *Directory, image []string, outputFormat string) *ApkoImage  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			WithScan(outputFormat)
}
@function
def example(tag: str, context: dagger.Directory, image: List[str], output_format: str) -> dag.ApkoImage:
	return (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.with_scan(output_format)
	)
@func()
example(tag: string, context: Directory, image: string[], outputFormat: string): ApkoImage {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.withScan(outputFormat)
}

sign() 🔗

Sign image with Cosign

Return Type
String !
Arguments
NameTypeDefault ValueDescription
privateKeySecret !-Cosign private key
passwordSecret !-Cosign password
recursiveBoolean trueNo description provided
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 sign --private-key env:MYSECRET --password env:MYSECRET
func (m *myModule) example(ctx context.Context, tag string, context *Directory, image []string, privateKey *Secret, password *Secret) string  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			Sign(ctx, privateKey, password)
}
@function
async def example(tag: str, context: dagger.Directory, image: List[str], private_key: dagger.Secret, password: dagger.Secret) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.sign(private_key, password)
	)
@func()
async example(tag: string, context: Directory, image: string[], privateKey: Secret, password: Secret): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.sign(privateKey, password)
}

withSign() 🔗

Sign image with Cosign (for chaining)

Return Type
Image !
Arguments
NameTypeDefault ValueDescription
privateKeySecret !-Cosign private key
passwordSecret !-Cosign password
recursiveBoolean trueNo description provided
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2 \
 with-sign --private-key env:MYSECRET --password env:MYSECRET
func (m *myModule) example(tag string, context *Directory, image []string, privateKey *Secret, password *Secret) *ApkoImage  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image).
			WithSign(privateKey, password)
}
@function
def example(tag: str, context: dagger.Directory, image: List[str], private_key: dagger.Secret, password: dagger.Secret) -> dag.ApkoImage:
	return (
		dag.apko()
		.build(tag, context)
		.publish(image)
		.with_sign(private_key, password)
	)
@func()
example(tag: string, context: Directory, image: string[], privateKey: Secret, password: Secret): ApkoImage {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
		.withSign(privateKey, password)
}

Build 🔗

Apko Build module

image() 🔗

Apko image

Return Type
String !
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 image
func (m *myModule) example(ctx context.Context, tag string, context *Directory) string  {
	return dag.
			Apko().
			Build(tag, context).
			Image(ctx)
}
@function
async def example(tag: str, context: dagger.Directory) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.image()
	)
@func()
async example(tag: string, context: Directory): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.image()
}

registry() 🔗

Return Type
String 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 registry
func (m *myModule) example(ctx context.Context, tag string, context *Directory) string  {
	return dag.
			Apko().
			Build(tag, context).
			Registry(ctx)
}
@function
async def example(tag: str, context: dagger.Directory) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.registry()
	)
@func()
async example(tag: string, context: Directory): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.registry()
}

registryUsername() 🔗

Return Type
String 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 registry-username
func (m *myModule) example(ctx context.Context, tag string, context *Directory) string  {
	return dag.
			Apko().
			Build(tag, context).
			RegistryUsername(ctx)
}
@function
async def example(tag: str, context: dagger.Directory) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.registry_username()
	)
@func()
async example(tag: string, context: Directory): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.registryUsername()
}

registryPassword() 🔗

Return Type
Secret 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 registry-password
func (m *myModule) example(tag string, context *Directory) *Secret  {
	return dag.
			Apko().
			Build(tag, context).
			RegistryPassword()
}
@function
def example(tag: str, context: dagger.Directory) -> dagger.Secret:
	return (
		dag.apko()
		.build(tag, context)
		.registry_password()
	)
@func()
example(tag: string, context: Directory): Secret {
	return dag
		.apko()
		.build(tag, context)
		.registryPassword()
}

user() 🔗

Return Type
String 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 user
func (m *myModule) example(ctx context.Context, tag string, context *Directory) string  {
	return dag.
			Apko().
			Build(tag, context).
			User(ctx)
}
@function
async def example(tag: str, context: dagger.Directory) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.user()
	)
@func()
async example(tag: string, context: Directory): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.user()
}

container() 🔗

Return Type
Container 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 container
func (m *myModule) example(tag string, context *Directory) *Container  {
	return dag.
			Apko().
			Build(tag, context).
			Container()
}
@function
def example(tag: str, context: dagger.Directory) -> dagger.Container:
	return (
		dag.apko()
		.build(tag, context)
		.container()
	)
@func()
example(tag: string, context: Directory): Container {
	return dag
		.apko()
		.build(tag, context)
		.container()
}

sbom() 🔗

Return

Return Type
Directory !
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 sbom
func (m *myModule) example(tag string, context *Directory) *Directory  {
	return dag.
			Apko().
			Build(tag, context).
			Sbom()
}
@function
def example(tag: str, context: dagger.Directory) -> dagger.Directory:
	return (
		dag.apko()
		.build(tag, context)
		.sbom()
	)
@func()
example(tag: string, context: Directory): Directory {
	return dag
		.apko()
		.build(tag, context)
		.sbom()
}

asOci() 🔗

Returns the image OCI layout directory

Return Type
Directory !
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 as-oci
func (m *myModule) example(tag string, context *Directory) *Directory  {
	return dag.
			Apko().
			Build(tag, context).
			AsOci()
}
@function
def example(tag: str, context: dagger.Directory) -> dagger.Directory:
	return (
		dag.apko()
		.build(tag, context)
		.as_oci()
	)
@func()
example(tag: string, context: Directory): Directory {
	return dag
		.apko()
		.build(tag, context)
		.asOci()
}

scan() 🔗

Scan build result using Grype

Return Type
String !
Arguments
NameTypeDefault ValueDescription
failOnString nullNo description provided
outputFormatString !"table"Report output formatter
outputFileString nullNo description provided
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 scan --output-format string
func (m *myModule) example(ctx context.Context, tag string, context *Directory, outputFormat string) string  {
	return dag.
			Apko().
			Build(tag, context).
			Scan(ctxoutputFormat)
}
@function
async def example(tag: str, context: dagger.Directory, output_format: str) -> str:
	return await (
		dag.apko()
		.build(tag, context)
		.scan(output_format)
	)
@func()
async example(tag: string, context: Directory, outputFormat: string): Promise<string> {
	return dag
		.apko()
		.build(tag, context)
		.scan(outputFormat)
}

withScan() 🔗

Scan build result using Grype (for chaining)

Return Type
Build !
Arguments
NameTypeDefault ValueDescription
failOnString nullNo description provided
outputFormatString !"table"Report output formatter
outputFileString nullNo description provided
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 with-scan --output-format string
func (m *myModule) example(tag string, context *Directory, outputFormat string) *ApkoBuild  {
	return dag.
			Apko().
			Build(tag, context).
			WithScan(outputFormat)
}
@function
def example(tag: str, context: dagger.Directory, output_format: str) -> dag.ApkoBuild:
	return (
		dag.apko()
		.build(tag, context)
		.with_scan(output_format)
	)
@func()
example(tag: string, context: Directory, outputFormat: string): ApkoBuild {
	return dag
		.apko()
		.build(tag, context)
		.withScan(outputFormat)
}

publish() 🔗

Publish multi-arch image

Return Type
Image !
Arguments
NameTypeDefault ValueDescription
image[String ! ] !-Image tag
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 build --tag string --context DIR_PATH \
 publish --image string1 --image string2
func (m *myModule) example(tag string, context *Directory, image []string) *ApkoImage  {
	return dag.
			Apko().
			Build(tag, context).
			Publish(image)
}
@function
def example(tag: str, context: dagger.Directory, image: List[str]) -> dag.ApkoImage:
	return (
		dag.apko()
		.build(tag, context)
		.publish(image)
	)
@func()
example(tag: string, context: Directory, image: string[]): ApkoImage {
	return dag
		.apko()
		.build(tag, context)
		.publish(image)
}

Apko 🔗

Apko module

image() 🔗

Apko image

Return Type
String !
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 --image string image
func (m *myModule) example(ctx context.Context, image string) string  {
	return dag.
			Apko(image).
			Image(ctx)
}
@function
async def example(image: str, ) -> str:
	return await (
		dag.apko(image)
		.image()
	)
@func()
async example(image: string, ): Promise<string> {
	return dag
		.apko(image)
		.image()
}

registry() 🔗

Return Type
String 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 --image string registry
func (m *myModule) example(ctx context.Context, image string) string  {
	return dag.
			Apko(image).
			Registry(ctx)
}
@function
async def example(image: str, ) -> str:
	return await (
		dag.apko(image)
		.registry()
	)
@func()
async example(image: string, ): Promise<string> {
	return dag
		.apko(image)
		.registry()
}

username() 🔗

Return Type
String 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 --image string username
func (m *myModule) example(ctx context.Context, image string) string  {
	return dag.
			Apko(image).
			Username(ctx)
}
@function
async def example(image: str, ) -> str:
	return await (
		dag.apko(image)
		.username()
	)
@func()
async example(image: string, ): Promise<string> {
	return dag
		.apko(image)
		.username()
}

password() 🔗

Return Type
Secret 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 --image string password
func (m *myModule) example(image string) *Secret  {
	return dag.
			Apko(image).
			Password()
}
@function
def example(image: str, ) -> dagger.Secret:
	return (
		dag.apko(image)
		.password()
	)
@func()
example(image: string, ): Secret {
	return dag
		.apko(image)
		.password()
}

user() 🔗

Return Type
String 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 --image string user
func (m *myModule) example(ctx context.Context, image string) string  {
	return dag.
			Apko(image).
			User(ctx)
}
@function
async def example(image: str, ) -> str:
	return await (
		dag.apko(image)
		.user()
	)
@func()
async example(image: string, ): Promise<string> {
	return dag
		.apko(image)
		.user()
}

container() 🔗

Return Type
Container 
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 --image string container
func (m *myModule) example(image string) *Container  {
	return dag.
			Apko(image).
			Container()
}
@function
def example(image: str, ) -> dagger.Container:
	return (
		dag.apko(image)
		.container()
	)
@func()
example(image: string, ): Container {
	return dag
		.apko(image)
		.container()
}

withRegistryAuth() 🔗

Authenticates with registry

Return Type
Apko !
Arguments
NameTypeDefault ValueDescription
addressString "index.docker.io"No description provided
usernameString nullNo description provided
secretSecret nullNo description provided
dockerConfigDirectory nullNo description provided
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 --image string with-registry-auth
func (m *myModule) example(image string) *Apko  {
	return dag.
			Apko(image).
			WithRegistryAuth()
}
@function
def example(image: str, ) -> dag.Apko:
	return (
		dag.apko(image)
		.with_registry_auth()
	)
@func()
example(image: string, ): Apko {
	return dag
		.apko(image)
		.withRegistryAuth()
}

build() 🔗

Build an image using Apko

Return Type
Build !
Arguments
NameTypeDefault ValueDescription
tagString !-Image tag
contextDirectory !-Working dir
archString -No description provided
configString "apko.yaml"No description provided
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 --image string build --tag string --context DIR_PATH
func (m *myModule) example(image string, tag string, context *Directory) *ApkoBuild  {
	return dag.
			Apko(image).
			Build(tag, context)
}
@function
def example(image: str, tag: str, context: dagger.Directory) -> dag.ApkoBuild:
	return (
		dag.apko(image)
		.build(tag, context)
	)
@func()
example(image: string, tag: string, context: Directory): ApkoBuild {
	return dag
		.apko(image)
		.build(tag, context)
}

publish() 🔗

Publish an image using Apko

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
tagString !-Image tag
contextDirectory !-Working dir
archString -No description provided
configString "apko.yaml"No description provided
Example
dagger -m github.com/opopops/daggerverse/apko@50a6237cf86e74768e554c4b1220e3079c79246c call \
 --image string publish --tag string --context DIR_PATH
func (m *myModule) example(image string, tag string, context *Directory) *Directory  {
	return dag.
			Apko(image).
			Publish(tag, context)
}
@function
def example(image: str, tag: str, context: dagger.Directory) -> dagger.Directory:
	return (
		dag.apko(image)
		.publish(tag, context)
	)
@func()
example(image: string, tag: string, context: Directory): Directory {
	return dag
		.apko(image)
		.publish(tag, context)
}