File tree 5 files changed +770
-342
lines changed
5 files changed +770
-342
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,32 @@ jobs:
22
22
org/repo:tag
23
23
` ` `
24
24
25
+ Pull bake image targets:
26
+
27
+ ` ` ` yaml
28
+ jobs :
29
+ job-name :
30
+ steps :
31
+ - uses : depot/setup-action@v1
32
+ - uses : depot/bake-action@v1
33
+ with :
34
+ save : true
35
+ - uses : depot/pull-action@v1
36
+ with :
37
+ build-id : ${{ steps.build.outputs.build-id }}
38
+ target : your-target
39
+ tags : |
40
+ org/repo:tag
41
+ ` ` `
42
+
25
43
## Inputs
26
44
27
45
| Name | Type | Required | Description |
28
46
| ---------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------- |
29
47
| ` build-id` | string | **yes** | The build ID to pull images for. |
30
48
| `platform` | string | no | The image platform to pull (defaults to the current platform). |
31
49
| `tags` | list/CSV | no | A list of tags to apply to the pulled image. |
50
+ | `target` | string | no | For a bake build specifies the specific target to pull. |
32
51
| `token` | string | no | The API token to use for authentication. This can be overridden by the `DEPOT_TOKEN` environment variable. |
33
52
34
53
# # License
Original file line number Diff line number Diff line change @@ -21,3 +21,7 @@ inputs:
21
21
description : If set, will populate the `DEPOT_TOKEN` environment variable.
22
22
default : ' '
23
23
required : false
24
+ target :
25
+ description : Specific bake target to pull.
26
+ default : ' false'
27
+ required : false
You can’t perform that action at this time.
0 commit comments