File tree Expand file tree Collapse file tree
first-project/{{cookiecutter.project_name}}/src/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import union
44
55image_spec = union .ImageSpec (
6+
7+ # The name of the image.
68 name = "first-project-image" ,
9+
10+ # Use the `uv.lock` file in this project to define the dependencies included in the image.
711 requirements = "uv.lock" ,
12+
13+ # The container registry to which the image will be pushed.
14+ # Only used for Union BYOC. Not used for Union Serverless
15+ # Uncomment this parameter if you are using Union BYOC.:
16+ #
17+ # * Substitute the actual name of the registry for <my-registry>.
18+ # (for example if you are using GitHub's GHCR, you would use "ghcr.io/<my-github-org>").
19+ #
20+ # * Make sure you have Docker installed locally and are logged into that registry.
21+ #
22+ # * Make sure that the image, once pushed to the registry, is accessible to Union
23+ # (for example, for GHCR, make sure the image is public).
24+ #
25+ # registry="<my-registry>"
826)
927
1028@union .task (container_image = image_spec )
You can’t perform that action at this time.
0 commit comments