Dagger
Search

ttlsh

No long description provided.

Installation

dagger install github.com/shykes/daggerverse/ttlsh@dfb1f91fa463b779021d65011f0060f7decda0ba

Entrypoint

Return Type
Ttlsh
Example
func (m *myModule) example() *Ttlsh  {
	return dag.
			Ttlsh()
}
@function
def example() -> dag.Ttlsh:
	return (
		dag.ttlsh()
	)
@func()
example(): Ttlsh {
	return dag
		.ttlsh()
}

Types

Ttlsh

A Dagger module to publish containers to ttl.sh, a throaway public registry

publish()

Publish a container to ttl.sh

Return Type
String !
Arguments
NameTypeDefault ValueDescription
ctrContainer !-the container to publish
repoString -the repo to publish to, defaults to a random name
tagString "10m"the tag to publish to, defaults to 10m
Example
dagger -m github.com/shykes/daggerverse/ttlsh@dfb1f91fa463b779021d65011f0060f7decda0ba call \
 publish --ctr IMAGE:TAG
func (m *myModule) example(ctx context.Context, ctr *Container) string  {
	return dag.
			Ttlsh().
			Publish(ctx, ctr)
}
@function
async def example(ctr: dagger.Container) -> str:
	return await (
		dag.ttlsh()
		.publish(ctr)
	)
@func()
async example(ctr: Container): Promise<string> {
	return dag
		.ttlsh()
		.publish(ctr)
}