pulumi-docker-build 0.1.0a1723160793__py3-none-any.whl → 0.1.0a1723582330__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-docker-build might be problematic. Click here for more details.
- pulumi_docker_build/image.py +174 -174
- pulumi_docker_build/index.py +56 -56
- pulumi_docker_build/pulumi-plugin.json +1 -1
- {pulumi_docker_build-0.1.0a1723160793.dist-info → pulumi_docker_build-0.1.0a1723582330.dist-info}/METADATA +1 -1
- {pulumi_docker_build-0.1.0a1723160793.dist-info → pulumi_docker_build-0.1.0a1723582330.dist-info}/RECORD +7 -7
- {pulumi_docker_build-0.1.0a1723160793.dist-info → pulumi_docker_build-0.1.0a1723582330.dist-info}/WHEEL +1 -1
- {pulumi_docker_build-0.1.0a1723160793.dist-info → pulumi_docker_build-0.1.0a1723582330.dist-info}/top_level.txt +0 -0
pulumi_docker_build/image.py
CHANGED
|
@@ -718,27 +718,27 @@ class Image(pulumi.CustomResource):
|
|
|
718
718
|
ecr_repository = aws.ecr.Repository("ecr-repository")
|
|
719
719
|
auth_token = aws.ecr.get_authorization_token_output(registry_id=ecr_repository.registry_id)
|
|
720
720
|
my_image = docker_build.Image("my-image",
|
|
721
|
-
cache_from=[
|
|
722
|
-
registry
|
|
723
|
-
ref
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
cache_to=[
|
|
727
|
-
registry
|
|
728
|
-
image_manifest
|
|
729
|
-
oci_media_types
|
|
730
|
-
ref
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
context=
|
|
734
|
-
location
|
|
735
|
-
|
|
721
|
+
cache_from=[{
|
|
722
|
+
"registry": {
|
|
723
|
+
"ref": ecr_repository.repository_url.apply(lambda repository_url: f"{repository_url}:cache"),
|
|
724
|
+
},
|
|
725
|
+
}],
|
|
726
|
+
cache_to=[{
|
|
727
|
+
"registry": {
|
|
728
|
+
"image_manifest": True,
|
|
729
|
+
"oci_media_types": True,
|
|
730
|
+
"ref": ecr_repository.repository_url.apply(lambda repository_url: f"{repository_url}:cache"),
|
|
731
|
+
},
|
|
732
|
+
}],
|
|
733
|
+
context={
|
|
734
|
+
"location": "./app",
|
|
735
|
+
},
|
|
736
736
|
push=True,
|
|
737
|
-
registries=[
|
|
738
|
-
address
|
|
739
|
-
password
|
|
740
|
-
username
|
|
741
|
-
|
|
737
|
+
registries=[{
|
|
738
|
+
"address": ecr_repository.repository_url,
|
|
739
|
+
"password": auth_token.password,
|
|
740
|
+
"username": auth_token.user_name,
|
|
741
|
+
}],
|
|
742
742
|
tags=[ecr_repository.repository_url.apply(lambda repository_url: f"{repository_url}:latest")])
|
|
743
743
|
pulumi.export("ref", my_image.ref)
|
|
744
744
|
```
|
|
@@ -748,9 +748,9 @@ class Image(pulumi.CustomResource):
|
|
|
748
748
|
import pulumi_docker_build as docker_build
|
|
749
749
|
|
|
750
750
|
image = docker_build.Image("image",
|
|
751
|
-
context=
|
|
752
|
-
location
|
|
753
|
-
|
|
751
|
+
context={
|
|
752
|
+
"location": "app",
|
|
753
|
+
},
|
|
754
754
|
platforms=[
|
|
755
755
|
docker_build.Platform.PLAN9_AMD64,
|
|
756
756
|
docker_build.Platform.PLAN9_386,
|
|
@@ -763,15 +763,15 @@ class Image(pulumi.CustomResource):
|
|
|
763
763
|
import pulumi_docker_build as docker_build
|
|
764
764
|
|
|
765
765
|
image = docker_build.Image("image",
|
|
766
|
-
context=
|
|
767
|
-
location
|
|
768
|
-
|
|
766
|
+
context={
|
|
767
|
+
"location": "app",
|
|
768
|
+
},
|
|
769
769
|
push=True,
|
|
770
|
-
registries=[
|
|
771
|
-
address
|
|
772
|
-
password
|
|
773
|
-
username
|
|
774
|
-
|
|
770
|
+
registries=[{
|
|
771
|
+
"address": "docker.io",
|
|
772
|
+
"password": docker_hub_password,
|
|
773
|
+
"username": "pulumibot",
|
|
774
|
+
}],
|
|
775
775
|
tags=["docker.io/pulumi/pulumi:3.107.0"])
|
|
776
776
|
pulumi.export("ref", my_image["ref"])
|
|
777
777
|
```
|
|
@@ -781,20 +781,20 @@ class Image(pulumi.CustomResource):
|
|
|
781
781
|
import pulumi_docker_build as docker_build
|
|
782
782
|
|
|
783
783
|
image = docker_build.Image("image",
|
|
784
|
-
cache_from=[
|
|
785
|
-
local
|
|
786
|
-
src
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
cache_to=[
|
|
790
|
-
local
|
|
791
|
-
dest
|
|
792
|
-
mode
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
context=
|
|
796
|
-
location
|
|
797
|
-
|
|
784
|
+
cache_from=[{
|
|
785
|
+
"local": {
|
|
786
|
+
"src": "tmp/cache",
|
|
787
|
+
},
|
|
788
|
+
}],
|
|
789
|
+
cache_to=[{
|
|
790
|
+
"local": {
|
|
791
|
+
"dest": "tmp/cache",
|
|
792
|
+
"mode": docker_build.CacheMode.MAX,
|
|
793
|
+
},
|
|
794
|
+
}],
|
|
795
|
+
context={
|
|
796
|
+
"location": "app",
|
|
797
|
+
},
|
|
798
798
|
push=False)
|
|
799
799
|
```
|
|
800
800
|
### Docker Build Cloud
|
|
@@ -803,12 +803,12 @@ class Image(pulumi.CustomResource):
|
|
|
803
803
|
import pulumi_docker_build as docker_build
|
|
804
804
|
|
|
805
805
|
image = docker_build.Image("image",
|
|
806
|
-
builder=
|
|
807
|
-
name
|
|
808
|
-
|
|
809
|
-
context=
|
|
810
|
-
location
|
|
811
|
-
|
|
806
|
+
builder={
|
|
807
|
+
"name": "cloud-builder-name",
|
|
808
|
+
},
|
|
809
|
+
context={
|
|
810
|
+
"location": "app",
|
|
811
|
+
},
|
|
812
812
|
exec_=True,
|
|
813
813
|
push=False)
|
|
814
814
|
```
|
|
@@ -821,9 +821,9 @@ class Image(pulumi.CustomResource):
|
|
|
821
821
|
build_args={
|
|
822
822
|
"SET_ME_TO_TRUE": "true",
|
|
823
823
|
},
|
|
824
|
-
context=
|
|
825
|
-
location
|
|
826
|
-
|
|
824
|
+
context={
|
|
825
|
+
"location": "app",
|
|
826
|
+
},
|
|
827
827
|
push=False)
|
|
828
828
|
```
|
|
829
829
|
### Build target
|
|
@@ -832,9 +832,9 @@ class Image(pulumi.CustomResource):
|
|
|
832
832
|
import pulumi_docker_build as docker_build
|
|
833
833
|
|
|
834
834
|
image = docker_build.Image("image",
|
|
835
|
-
context=
|
|
836
|
-
location
|
|
837
|
-
|
|
835
|
+
context={
|
|
836
|
+
"location": "app",
|
|
837
|
+
},
|
|
838
838
|
push=False,
|
|
839
839
|
target="build-me")
|
|
840
840
|
```
|
|
@@ -844,14 +844,14 @@ class Image(pulumi.CustomResource):
|
|
|
844
844
|
import pulumi_docker_build as docker_build
|
|
845
845
|
|
|
846
846
|
image = docker_build.Image("image",
|
|
847
|
-
context=
|
|
848
|
-
location
|
|
849
|
-
named
|
|
850
|
-
"
|
|
851
|
-
location
|
|
852
|
-
|
|
847
|
+
context={
|
|
848
|
+
"location": "app",
|
|
849
|
+
"named": {
|
|
850
|
+
"golang_latest": {
|
|
851
|
+
"location": "docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
|
|
852
|
+
},
|
|
853
853
|
},
|
|
854
|
-
|
|
854
|
+
},
|
|
855
855
|
push=False)
|
|
856
856
|
```
|
|
857
857
|
### Remote context
|
|
@@ -860,9 +860,9 @@ class Image(pulumi.CustomResource):
|
|
|
860
860
|
import pulumi_docker_build as docker_build
|
|
861
861
|
|
|
862
862
|
image = docker_build.Image("image",
|
|
863
|
-
context=
|
|
864
|
-
location
|
|
865
|
-
|
|
863
|
+
context={
|
|
864
|
+
"location": "https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
|
|
865
|
+
},
|
|
866
866
|
push=False)
|
|
867
867
|
```
|
|
868
868
|
### Inline Dockerfile
|
|
@@ -871,14 +871,14 @@ class Image(pulumi.CustomResource):
|
|
|
871
871
|
import pulumi_docker_build as docker_build
|
|
872
872
|
|
|
873
873
|
image = docker_build.Image("image",
|
|
874
|
-
context=
|
|
875
|
-
location
|
|
876
|
-
|
|
877
|
-
dockerfile=
|
|
878
|
-
inline
|
|
874
|
+
context={
|
|
875
|
+
"location": "app",
|
|
876
|
+
},
|
|
877
|
+
dockerfile={
|
|
878
|
+
"inline": \"\"\"FROM busybox
|
|
879
879
|
COPY hello.c ./
|
|
880
880
|
\"\"\",
|
|
881
|
-
|
|
881
|
+
},
|
|
882
882
|
push=False)
|
|
883
883
|
```
|
|
884
884
|
### Remote context
|
|
@@ -887,12 +887,12 @@ class Image(pulumi.CustomResource):
|
|
|
887
887
|
import pulumi_docker_build as docker_build
|
|
888
888
|
|
|
889
889
|
image = docker_build.Image("image",
|
|
890
|
-
context=
|
|
891
|
-
location
|
|
892
|
-
|
|
893
|
-
dockerfile=
|
|
894
|
-
location
|
|
895
|
-
|
|
890
|
+
context={
|
|
891
|
+
"location": "https://github.com/docker-library/hello-world.git",
|
|
892
|
+
},
|
|
893
|
+
dockerfile={
|
|
894
|
+
"location": "app/Dockerfile",
|
|
895
|
+
},
|
|
896
896
|
push=False)
|
|
897
897
|
```
|
|
898
898
|
### Local export
|
|
@@ -901,14 +901,14 @@ class Image(pulumi.CustomResource):
|
|
|
901
901
|
import pulumi_docker_build as docker_build
|
|
902
902
|
|
|
903
903
|
image = docker_build.Image("image",
|
|
904
|
-
context=
|
|
905
|
-
location
|
|
906
|
-
|
|
907
|
-
exports=[
|
|
908
|
-
docker
|
|
909
|
-
tar
|
|
910
|
-
|
|
911
|
-
|
|
904
|
+
context={
|
|
905
|
+
"location": "app",
|
|
906
|
+
},
|
|
907
|
+
exports=[{
|
|
908
|
+
"docker": {
|
|
909
|
+
"tar": True,
|
|
910
|
+
},
|
|
911
|
+
}],
|
|
912
912
|
push=False)
|
|
913
913
|
```
|
|
914
914
|
|
|
@@ -1156,27 +1156,27 @@ class Image(pulumi.CustomResource):
|
|
|
1156
1156
|
ecr_repository = aws.ecr.Repository("ecr-repository")
|
|
1157
1157
|
auth_token = aws.ecr.get_authorization_token_output(registry_id=ecr_repository.registry_id)
|
|
1158
1158
|
my_image = docker_build.Image("my-image",
|
|
1159
|
-
cache_from=[
|
|
1160
|
-
registry
|
|
1161
|
-
ref
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
cache_to=[
|
|
1165
|
-
registry
|
|
1166
|
-
image_manifest
|
|
1167
|
-
oci_media_types
|
|
1168
|
-
ref
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
context=
|
|
1172
|
-
location
|
|
1173
|
-
|
|
1159
|
+
cache_from=[{
|
|
1160
|
+
"registry": {
|
|
1161
|
+
"ref": ecr_repository.repository_url.apply(lambda repository_url: f"{repository_url}:cache"),
|
|
1162
|
+
},
|
|
1163
|
+
}],
|
|
1164
|
+
cache_to=[{
|
|
1165
|
+
"registry": {
|
|
1166
|
+
"image_manifest": True,
|
|
1167
|
+
"oci_media_types": True,
|
|
1168
|
+
"ref": ecr_repository.repository_url.apply(lambda repository_url: f"{repository_url}:cache"),
|
|
1169
|
+
},
|
|
1170
|
+
}],
|
|
1171
|
+
context={
|
|
1172
|
+
"location": "./app",
|
|
1173
|
+
},
|
|
1174
1174
|
push=True,
|
|
1175
|
-
registries=[
|
|
1176
|
-
address
|
|
1177
|
-
password
|
|
1178
|
-
username
|
|
1179
|
-
|
|
1175
|
+
registries=[{
|
|
1176
|
+
"address": ecr_repository.repository_url,
|
|
1177
|
+
"password": auth_token.password,
|
|
1178
|
+
"username": auth_token.user_name,
|
|
1179
|
+
}],
|
|
1180
1180
|
tags=[ecr_repository.repository_url.apply(lambda repository_url: f"{repository_url}:latest")])
|
|
1181
1181
|
pulumi.export("ref", my_image.ref)
|
|
1182
1182
|
```
|
|
@@ -1186,9 +1186,9 @@ class Image(pulumi.CustomResource):
|
|
|
1186
1186
|
import pulumi_docker_build as docker_build
|
|
1187
1187
|
|
|
1188
1188
|
image = docker_build.Image("image",
|
|
1189
|
-
context=
|
|
1190
|
-
location
|
|
1191
|
-
|
|
1189
|
+
context={
|
|
1190
|
+
"location": "app",
|
|
1191
|
+
},
|
|
1192
1192
|
platforms=[
|
|
1193
1193
|
docker_build.Platform.PLAN9_AMD64,
|
|
1194
1194
|
docker_build.Platform.PLAN9_386,
|
|
@@ -1201,15 +1201,15 @@ class Image(pulumi.CustomResource):
|
|
|
1201
1201
|
import pulumi_docker_build as docker_build
|
|
1202
1202
|
|
|
1203
1203
|
image = docker_build.Image("image",
|
|
1204
|
-
context=
|
|
1205
|
-
location
|
|
1206
|
-
|
|
1204
|
+
context={
|
|
1205
|
+
"location": "app",
|
|
1206
|
+
},
|
|
1207
1207
|
push=True,
|
|
1208
|
-
registries=[
|
|
1209
|
-
address
|
|
1210
|
-
password
|
|
1211
|
-
username
|
|
1212
|
-
|
|
1208
|
+
registries=[{
|
|
1209
|
+
"address": "docker.io",
|
|
1210
|
+
"password": docker_hub_password,
|
|
1211
|
+
"username": "pulumibot",
|
|
1212
|
+
}],
|
|
1213
1213
|
tags=["docker.io/pulumi/pulumi:3.107.0"])
|
|
1214
1214
|
pulumi.export("ref", my_image["ref"])
|
|
1215
1215
|
```
|
|
@@ -1219,20 +1219,20 @@ class Image(pulumi.CustomResource):
|
|
|
1219
1219
|
import pulumi_docker_build as docker_build
|
|
1220
1220
|
|
|
1221
1221
|
image = docker_build.Image("image",
|
|
1222
|
-
cache_from=[
|
|
1223
|
-
local
|
|
1224
|
-
src
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
cache_to=[
|
|
1228
|
-
local
|
|
1229
|
-
dest
|
|
1230
|
-
mode
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
context=
|
|
1234
|
-
location
|
|
1235
|
-
|
|
1222
|
+
cache_from=[{
|
|
1223
|
+
"local": {
|
|
1224
|
+
"src": "tmp/cache",
|
|
1225
|
+
},
|
|
1226
|
+
}],
|
|
1227
|
+
cache_to=[{
|
|
1228
|
+
"local": {
|
|
1229
|
+
"dest": "tmp/cache",
|
|
1230
|
+
"mode": docker_build.CacheMode.MAX,
|
|
1231
|
+
},
|
|
1232
|
+
}],
|
|
1233
|
+
context={
|
|
1234
|
+
"location": "app",
|
|
1235
|
+
},
|
|
1236
1236
|
push=False)
|
|
1237
1237
|
```
|
|
1238
1238
|
### Docker Build Cloud
|
|
@@ -1241,12 +1241,12 @@ class Image(pulumi.CustomResource):
|
|
|
1241
1241
|
import pulumi_docker_build as docker_build
|
|
1242
1242
|
|
|
1243
1243
|
image = docker_build.Image("image",
|
|
1244
|
-
builder=
|
|
1245
|
-
name
|
|
1246
|
-
|
|
1247
|
-
context=
|
|
1248
|
-
location
|
|
1249
|
-
|
|
1244
|
+
builder={
|
|
1245
|
+
"name": "cloud-builder-name",
|
|
1246
|
+
},
|
|
1247
|
+
context={
|
|
1248
|
+
"location": "app",
|
|
1249
|
+
},
|
|
1250
1250
|
exec_=True,
|
|
1251
1251
|
push=False)
|
|
1252
1252
|
```
|
|
@@ -1259,9 +1259,9 @@ class Image(pulumi.CustomResource):
|
|
|
1259
1259
|
build_args={
|
|
1260
1260
|
"SET_ME_TO_TRUE": "true",
|
|
1261
1261
|
},
|
|
1262
|
-
context=
|
|
1263
|
-
location
|
|
1264
|
-
|
|
1262
|
+
context={
|
|
1263
|
+
"location": "app",
|
|
1264
|
+
},
|
|
1265
1265
|
push=False)
|
|
1266
1266
|
```
|
|
1267
1267
|
### Build target
|
|
@@ -1270,9 +1270,9 @@ class Image(pulumi.CustomResource):
|
|
|
1270
1270
|
import pulumi_docker_build as docker_build
|
|
1271
1271
|
|
|
1272
1272
|
image = docker_build.Image("image",
|
|
1273
|
-
context=
|
|
1274
|
-
location
|
|
1275
|
-
|
|
1273
|
+
context={
|
|
1274
|
+
"location": "app",
|
|
1275
|
+
},
|
|
1276
1276
|
push=False,
|
|
1277
1277
|
target="build-me")
|
|
1278
1278
|
```
|
|
@@ -1282,14 +1282,14 @@ class Image(pulumi.CustomResource):
|
|
|
1282
1282
|
import pulumi_docker_build as docker_build
|
|
1283
1283
|
|
|
1284
1284
|
image = docker_build.Image("image",
|
|
1285
|
-
context=
|
|
1286
|
-
location
|
|
1287
|
-
named
|
|
1288
|
-
"
|
|
1289
|
-
location
|
|
1290
|
-
|
|
1285
|
+
context={
|
|
1286
|
+
"location": "app",
|
|
1287
|
+
"named": {
|
|
1288
|
+
"golang_latest": {
|
|
1289
|
+
"location": "docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
|
|
1290
|
+
},
|
|
1291
1291
|
},
|
|
1292
|
-
|
|
1292
|
+
},
|
|
1293
1293
|
push=False)
|
|
1294
1294
|
```
|
|
1295
1295
|
### Remote context
|
|
@@ -1298,9 +1298,9 @@ class Image(pulumi.CustomResource):
|
|
|
1298
1298
|
import pulumi_docker_build as docker_build
|
|
1299
1299
|
|
|
1300
1300
|
image = docker_build.Image("image",
|
|
1301
|
-
context=
|
|
1302
|
-
location
|
|
1303
|
-
|
|
1301
|
+
context={
|
|
1302
|
+
"location": "https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
|
|
1303
|
+
},
|
|
1304
1304
|
push=False)
|
|
1305
1305
|
```
|
|
1306
1306
|
### Inline Dockerfile
|
|
@@ -1309,14 +1309,14 @@ class Image(pulumi.CustomResource):
|
|
|
1309
1309
|
import pulumi_docker_build as docker_build
|
|
1310
1310
|
|
|
1311
1311
|
image = docker_build.Image("image",
|
|
1312
|
-
context=
|
|
1313
|
-
location
|
|
1314
|
-
|
|
1315
|
-
dockerfile=
|
|
1316
|
-
inline
|
|
1312
|
+
context={
|
|
1313
|
+
"location": "app",
|
|
1314
|
+
},
|
|
1315
|
+
dockerfile={
|
|
1316
|
+
"inline": \"\"\"FROM busybox
|
|
1317
1317
|
COPY hello.c ./
|
|
1318
1318
|
\"\"\",
|
|
1319
|
-
|
|
1319
|
+
},
|
|
1320
1320
|
push=False)
|
|
1321
1321
|
```
|
|
1322
1322
|
### Remote context
|
|
@@ -1325,12 +1325,12 @@ class Image(pulumi.CustomResource):
|
|
|
1325
1325
|
import pulumi_docker_build as docker_build
|
|
1326
1326
|
|
|
1327
1327
|
image = docker_build.Image("image",
|
|
1328
|
-
context=
|
|
1329
|
-
location
|
|
1330
|
-
|
|
1331
|
-
dockerfile=
|
|
1332
|
-
location
|
|
1333
|
-
|
|
1328
|
+
context={
|
|
1329
|
+
"location": "https://github.com/docker-library/hello-world.git",
|
|
1330
|
+
},
|
|
1331
|
+
dockerfile={
|
|
1332
|
+
"location": "app/Dockerfile",
|
|
1333
|
+
},
|
|
1334
1334
|
push=False)
|
|
1335
1335
|
```
|
|
1336
1336
|
### Local export
|
|
@@ -1339,14 +1339,14 @@ class Image(pulumi.CustomResource):
|
|
|
1339
1339
|
import pulumi_docker_build as docker_build
|
|
1340
1340
|
|
|
1341
1341
|
image = docker_build.Image("image",
|
|
1342
|
-
context=
|
|
1343
|
-
location
|
|
1344
|
-
|
|
1345
|
-
exports=[
|
|
1346
|
-
docker
|
|
1347
|
-
tar
|
|
1348
|
-
|
|
1349
|
-
|
|
1342
|
+
context={
|
|
1343
|
+
"location": "app",
|
|
1344
|
+
},
|
|
1345
|
+
exports=[{
|
|
1346
|
+
"docker": {
|
|
1347
|
+
"tar": True,
|
|
1348
|
+
},
|
|
1349
|
+
}],
|
|
1350
1350
|
push=False)
|
|
1351
1351
|
```
|
|
1352
1352
|
|
pulumi_docker_build/index.py
CHANGED
|
@@ -131,37 +131,37 @@ class Index(pulumi.CustomResource):
|
|
|
131
131
|
import pulumi_docker_build as docker_build
|
|
132
132
|
|
|
133
133
|
amd64 = docker_build.Image("amd64",
|
|
134
|
-
cache_from=[
|
|
135
|
-
registry
|
|
136
|
-
ref
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
cache_to=[
|
|
140
|
-
registry
|
|
141
|
-
mode
|
|
142
|
-
ref
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
context=
|
|
146
|
-
location
|
|
147
|
-
|
|
134
|
+
cache_from=[{
|
|
135
|
+
"registry": {
|
|
136
|
+
"ref": "docker.io/pulumi/pulumi:cache-amd64",
|
|
137
|
+
},
|
|
138
|
+
}],
|
|
139
|
+
cache_to=[{
|
|
140
|
+
"registry": {
|
|
141
|
+
"mode": docker_build.CacheMode.MAX,
|
|
142
|
+
"ref": "docker.io/pulumi/pulumi:cache-amd64",
|
|
143
|
+
},
|
|
144
|
+
}],
|
|
145
|
+
context={
|
|
146
|
+
"location": "app",
|
|
147
|
+
},
|
|
148
148
|
platforms=[docker_build.Platform.LINUX_AMD64],
|
|
149
149
|
tags=["docker.io/pulumi/pulumi:3.107.0-amd64"])
|
|
150
150
|
arm64 = docker_build.Image("arm64",
|
|
151
|
-
cache_from=[
|
|
152
|
-
registry
|
|
153
|
-
ref
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
cache_to=[
|
|
157
|
-
registry
|
|
158
|
-
mode
|
|
159
|
-
ref
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
context=
|
|
163
|
-
location
|
|
164
|
-
|
|
151
|
+
cache_from=[{
|
|
152
|
+
"registry": {
|
|
153
|
+
"ref": "docker.io/pulumi/pulumi:cache-arm64",
|
|
154
|
+
},
|
|
155
|
+
}],
|
|
156
|
+
cache_to=[{
|
|
157
|
+
"registry": {
|
|
158
|
+
"mode": docker_build.CacheMode.MAX,
|
|
159
|
+
"ref": "docker.io/pulumi/pulumi:cache-arm64",
|
|
160
|
+
},
|
|
161
|
+
}],
|
|
162
|
+
context={
|
|
163
|
+
"location": "app",
|
|
164
|
+
},
|
|
165
165
|
platforms=[docker_build.Platform.LINUX_ARM64],
|
|
166
166
|
tags=["docker.io/pulumi/pulumi:3.107.0-arm64"])
|
|
167
167
|
index = docker_build.Index("index",
|
|
@@ -218,37 +218,37 @@ class Index(pulumi.CustomResource):
|
|
|
218
218
|
import pulumi_docker_build as docker_build
|
|
219
219
|
|
|
220
220
|
amd64 = docker_build.Image("amd64",
|
|
221
|
-
cache_from=[
|
|
222
|
-
registry
|
|
223
|
-
ref
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
cache_to=[
|
|
227
|
-
registry
|
|
228
|
-
mode
|
|
229
|
-
ref
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
context=
|
|
233
|
-
location
|
|
234
|
-
|
|
221
|
+
cache_from=[{
|
|
222
|
+
"registry": {
|
|
223
|
+
"ref": "docker.io/pulumi/pulumi:cache-amd64",
|
|
224
|
+
},
|
|
225
|
+
}],
|
|
226
|
+
cache_to=[{
|
|
227
|
+
"registry": {
|
|
228
|
+
"mode": docker_build.CacheMode.MAX,
|
|
229
|
+
"ref": "docker.io/pulumi/pulumi:cache-amd64",
|
|
230
|
+
},
|
|
231
|
+
}],
|
|
232
|
+
context={
|
|
233
|
+
"location": "app",
|
|
234
|
+
},
|
|
235
235
|
platforms=[docker_build.Platform.LINUX_AMD64],
|
|
236
236
|
tags=["docker.io/pulumi/pulumi:3.107.0-amd64"])
|
|
237
237
|
arm64 = docker_build.Image("arm64",
|
|
238
|
-
cache_from=[
|
|
239
|
-
registry
|
|
240
|
-
ref
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
cache_to=[
|
|
244
|
-
registry
|
|
245
|
-
mode
|
|
246
|
-
ref
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
context=
|
|
250
|
-
location
|
|
251
|
-
|
|
238
|
+
cache_from=[{
|
|
239
|
+
"registry": {
|
|
240
|
+
"ref": "docker.io/pulumi/pulumi:cache-arm64",
|
|
241
|
+
},
|
|
242
|
+
}],
|
|
243
|
+
cache_to=[{
|
|
244
|
+
"registry": {
|
|
245
|
+
"mode": docker_build.CacheMode.MAX,
|
|
246
|
+
"ref": "docker.io/pulumi/pulumi:cache-arm64",
|
|
247
|
+
},
|
|
248
|
+
}],
|
|
249
|
+
context={
|
|
250
|
+
"location": "app",
|
|
251
|
+
},
|
|
252
252
|
platforms=[docker_build.Platform.LINUX_ARM64],
|
|
253
253
|
tags=["docker.io/pulumi/pulumi:3.107.0-arm64"])
|
|
254
254
|
index = docker_build.Index("index",
|
|
@@ -2,16 +2,16 @@ pulumi_docker_build/__init__.py,sha256=jbA6SMpisvwJDycUKuo4IXVJ5_qjIao_1iPP9lcZ-
|
|
|
2
2
|
pulumi_docker_build/_enums.py,sha256=yfsDmimBobvf70zx6VAR_6ABp50Dan452rpIFVs8jkA,1928
|
|
3
3
|
pulumi_docker_build/_inputs.py,sha256=5BR5iN2zSZgH6sXxZfh2F_JpMjtkitqBwr76MOCPS-8,97952
|
|
4
4
|
pulumi_docker_build/_utilities.py,sha256=TZWmMJOOzIbeJ63eFk5Tkx9TRUBUL4deSG05KQZyUug,10488
|
|
5
|
-
pulumi_docker_build/image.py,sha256=
|
|
6
|
-
pulumi_docker_build/index.py,sha256=
|
|
5
|
+
pulumi_docker_build/image.py,sha256=VsbwL9JygPShhRXvxuBu4-X81XZyrksbnlna2KztbNA,74703
|
|
6
|
+
pulumi_docker_build/index.py,sha256=O58q_jghUCJJ2dCaQpEgyH9gL7DdsnW_lmw09THGqs4,14117
|
|
7
7
|
pulumi_docker_build/outputs.py,sha256=fJrTHocv5estX9VKAzMJXj_k6NnKPAyS91Ar9Zo9FfM,83241
|
|
8
8
|
pulumi_docker_build/provider.py,sha256=3Slh1kBpK8WSiXVqQ5cWrVu8o32XkvDl-x2htd4WLIQ,4798
|
|
9
|
-
pulumi_docker_build/pulumi-plugin.json,sha256=
|
|
9
|
+
pulumi_docker_build/pulumi-plugin.json,sha256=rIxDATxZ9teKPBF2BMnRf2pgJObCEDC3DhAAguYn_t4,88
|
|
10
10
|
pulumi_docker_build/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
pulumi_docker_build/config/__init__.py,sha256=YdGLR92OvYD0CYDgt_FTaHJOb_VzW8fto_Cgx6fLd3k,267
|
|
12
12
|
pulumi_docker_build/config/__init__.pyi,sha256=2lJs0q5nxrEi63kCCpe7M23-j-0NiQu9UpKaYAWe5TM,441
|
|
13
13
|
pulumi_docker_build/config/vars.py,sha256=6g1SHA-v-YBMxDX9KwlhaZZ3Yk7DzC5_EB2xz0FQiKo,756
|
|
14
|
-
pulumi_docker_build-0.1.
|
|
15
|
-
pulumi_docker_build-0.1.
|
|
16
|
-
pulumi_docker_build-0.1.
|
|
17
|
-
pulumi_docker_build-0.1.
|
|
14
|
+
pulumi_docker_build-0.1.0a1723582330.dist-info/METADATA,sha256=evasqGYBdDH-MOKqcLDNMhcHlPsKD8eP2t60c7QHz8I,2557
|
|
15
|
+
pulumi_docker_build-0.1.0a1723582330.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
|
|
16
|
+
pulumi_docker_build-0.1.0a1723582330.dist-info/top_level.txt,sha256=-O-MiPQ61mhil3wD9QdYf8yA4r5vNPmBgSGdi9cOQ18,20
|
|
17
|
+
pulumi_docker_build-0.1.0a1723582330.dist-info/RECORD,,
|
|
File without changes
|