diff --git a/pipeline.go b/pipeline.go index 72f3751..1aa37e3 100644 --- a/pipeline.go +++ b/pipeline.go @@ -20,7 +20,7 @@ func RunPipeline(isTesting bool) error { } defer client.Close() pipCache := client.CacheVolume("pip_cache") - container := client.Container().From("python:3.11.9-bookworm"). + container := client.Container().From("python:3.12.2-bookworm"). WithMountedCache("/root/.cache/pip", pipCache) container = container. @@ -117,6 +117,7 @@ func retrieveArtifacts(ctx context.Context, container *dagger.Container) error { return nil } +// Helper function func ls(ctx context.Context, container *dagger.Container, dir string, message string) { fmt.Println(message) info, err := container.WithWorkdir(dir).WithExec([]string{"ls", "-la"}).Stdout(ctx) diff --git a/pyproject.toml b/pyproject.toml index feebd4e..e262cf9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name="github_dagger_workflow_project" description="A project to demonstrate the Dagger workflow" version="0.0.1" -requires-python = ">=3.11.9" +requires-python = ">=3.12.2" [tool.ruff.format] exclude = ['.git', '.venv']