File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
first-project/{{cookiecutter.project_name}}/src/tasks Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 3
3
import union
4
4
5
5
image_spec = union .ImageSpec (
6
+
7
+ # The name of the image.
6
8
name = "first-project-image" ,
9
+
10
+ # Use the `uv.lock` file in this project to define the dependencies included in the image.
7
11
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>"
8
26
)
9
27
10
28
@union .task (container_image = image_spec )
You can’t perform that action at this time.
0 commit comments