pulumi-docker-build 0.1.0a1760593959__py3-none-any.whl → 0.1.0a1760695240__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.

@@ -281,6 +281,12 @@ class CacheFromAzureBlobArgs:
281
281
 
282
282
  if not MYPY:
283
283
  class CacheFromGitHubActionsArgsDict(TypedDict):
284
+ """
285
+ Recommended for use with GitHub Actions workflows.
286
+
287
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
288
+ appropriate credentials to your GitHub workflow.
289
+ """
284
290
  scope: NotRequired[pulumi.Input[_builtins.str]]
285
291
  """
286
292
  The scope to use for cache keys. Defaults to `buildkit`.
@@ -288,61 +294,27 @@ if not MYPY:
288
294
  This should be set if building and caching multiple images in one
289
295
  workflow, otherwise caches will overwrite each other.
290
296
  """
291
- token: NotRequired[pulumi.Input[_builtins.str]]
292
- """
293
- The GitHub Actions token to use. This is not a personal access tokens
294
- and is typically generated automatically as part of each job.
295
-
296
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
297
- `crazy-max/ghaction-github-runtime` is recommended to expose this
298
- environment variable to your jobs.
299
- """
300
- url: NotRequired[pulumi.Input[_builtins.str]]
301
- """
302
- The cache server URL to use for artifacts.
303
-
304
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
305
- `crazy-max/ghaction-github-runtime` is recommended to expose this
306
- environment variable to your jobs.
307
- """
308
297
  elif False:
309
298
  CacheFromGitHubActionsArgsDict: TypeAlias = Mapping[str, Any]
310
299
 
311
300
  @pulumi.input_type
312
301
  class CacheFromGitHubActionsArgs:
313
302
  def __init__(__self__, *,
314
- scope: Optional[pulumi.Input[_builtins.str]] = None,
315
- token: Optional[pulumi.Input[_builtins.str]] = None,
316
- url: Optional[pulumi.Input[_builtins.str]] = None):
303
+ scope: Optional[pulumi.Input[_builtins.str]] = None):
317
304
  """
305
+ Recommended for use with GitHub Actions workflows.
306
+
307
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
308
+ appropriate credentials to your GitHub workflow.
318
309
  :param pulumi.Input[_builtins.str] scope: The scope to use for cache keys. Defaults to `buildkit`.
319
310
 
320
311
  This should be set if building and caching multiple images in one
321
312
  workflow, otherwise caches will overwrite each other.
322
- :param pulumi.Input[_builtins.str] token: The GitHub Actions token to use. This is not a personal access tokens
323
- and is typically generated automatically as part of each job.
324
-
325
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
326
- `crazy-max/ghaction-github-runtime` is recommended to expose this
327
- environment variable to your jobs.
328
- :param pulumi.Input[_builtins.str] url: The cache server URL to use for artifacts.
329
-
330
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
331
- `crazy-max/ghaction-github-runtime` is recommended to expose this
332
- environment variable to your jobs.
333
313
  """
334
314
  if scope is None:
335
315
  scope = 'buildkit'
336
316
  if scope is not None:
337
317
  pulumi.set(__self__, "scope", scope)
338
- if token is None:
339
- token = (_utilities.get_env('ACTIONS_RUNTIME_TOKEN') or '')
340
- if token is not None:
341
- pulumi.set(__self__, "token", token)
342
- if url is None:
343
- url = (_utilities.get_env('ACTIONS_CACHE_URL') or '')
344
- if url is not None:
345
- pulumi.set(__self__, "url", url)
346
318
 
347
319
  @_builtins.property
348
320
  @pulumi.getter
@@ -359,39 +331,6 @@ class CacheFromGitHubActionsArgs:
359
331
  def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
360
332
  pulumi.set(self, "scope", value)
361
333
 
362
- @_builtins.property
363
- @pulumi.getter
364
- def token(self) -> Optional[pulumi.Input[_builtins.str]]:
365
- """
366
- The GitHub Actions token to use. This is not a personal access tokens
367
- and is typically generated automatically as part of each job.
368
-
369
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
370
- `crazy-max/ghaction-github-runtime` is recommended to expose this
371
- environment variable to your jobs.
372
- """
373
- return pulumi.get(self, "token")
374
-
375
- @token.setter
376
- def token(self, value: Optional[pulumi.Input[_builtins.str]]):
377
- pulumi.set(self, "token", value)
378
-
379
- @_builtins.property
380
- @pulumi.getter
381
- def url(self) -> Optional[pulumi.Input[_builtins.str]]:
382
- """
383
- The cache server URL to use for artifacts.
384
-
385
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
386
- `crazy-max/ghaction-github-runtime` is recommended to expose this
387
- environment variable to your jobs.
388
- """
389
- return pulumi.get(self, "url")
390
-
391
- @url.setter
392
- def url(self, value: Optional[pulumi.Input[_builtins.str]]):
393
- pulumi.set(self, "url", value)
394
-
395
334
 
396
335
  if not MYPY:
397
336
  class CacheFromLocalArgsDict(TypedDict):
@@ -977,6 +916,12 @@ class CacheToAzureBlobArgs:
977
916
 
978
917
  if not MYPY:
979
918
  class CacheToGitHubActionsArgsDict(TypedDict):
919
+ """
920
+ Recommended for use with GitHub Actions workflows.
921
+
922
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
923
+ appropriate credentials to your GitHub workflow.
924
+ """
980
925
  ignore_error: NotRequired[pulumi.Input[_builtins.bool]]
981
926
  """
982
927
  Ignore errors caused by failed cache exports.
@@ -992,23 +937,6 @@ if not MYPY:
992
937
  This should be set if building and caching multiple images in one
993
938
  workflow, otherwise caches will overwrite each other.
994
939
  """
995
- token: NotRequired[pulumi.Input[_builtins.str]]
996
- """
997
- The GitHub Actions token to use. This is not a personal access tokens
998
- and is typically generated automatically as part of each job.
999
-
1000
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
1001
- `crazy-max/ghaction-github-runtime` is recommended to expose this
1002
- environment variable to your jobs.
1003
- """
1004
- url: NotRequired[pulumi.Input[_builtins.str]]
1005
- """
1006
- The cache server URL to use for artifacts.
1007
-
1008
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
1009
- `crazy-max/ghaction-github-runtime` is recommended to expose this
1010
- environment variable to your jobs.
1011
- """
1012
940
  elif False:
1013
941
  CacheToGitHubActionsArgsDict: TypeAlias = Mapping[str, Any]
1014
942
 
@@ -1017,27 +945,18 @@ class CacheToGitHubActionsArgs:
1017
945
  def __init__(__self__, *,
1018
946
  ignore_error: Optional[pulumi.Input[_builtins.bool]] = None,
1019
947
  mode: Optional[pulumi.Input['CacheMode']] = None,
1020
- scope: Optional[pulumi.Input[_builtins.str]] = None,
1021
- token: Optional[pulumi.Input[_builtins.str]] = None,
1022
- url: Optional[pulumi.Input[_builtins.str]] = None):
948
+ scope: Optional[pulumi.Input[_builtins.str]] = None):
1023
949
  """
950
+ Recommended for use with GitHub Actions workflows.
951
+
952
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
953
+ appropriate credentials to your GitHub workflow.
1024
954
  :param pulumi.Input[_builtins.bool] ignore_error: Ignore errors caused by failed cache exports.
1025
955
  :param pulumi.Input['CacheMode'] mode: The cache mode to use. Defaults to `min`.
1026
956
  :param pulumi.Input[_builtins.str] scope: The scope to use for cache keys. Defaults to `buildkit`.
1027
957
 
1028
958
  This should be set if building and caching multiple images in one
1029
959
  workflow, otherwise caches will overwrite each other.
1030
- :param pulumi.Input[_builtins.str] token: The GitHub Actions token to use. This is not a personal access tokens
1031
- and is typically generated automatically as part of each job.
1032
-
1033
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
1034
- `crazy-max/ghaction-github-runtime` is recommended to expose this
1035
- environment variable to your jobs.
1036
- :param pulumi.Input[_builtins.str] url: The cache server URL to use for artifacts.
1037
-
1038
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
1039
- `crazy-max/ghaction-github-runtime` is recommended to expose this
1040
- environment variable to your jobs.
1041
960
  """
1042
961
  if ignore_error is None:
1043
962
  ignore_error = False
@@ -1051,14 +970,6 @@ class CacheToGitHubActionsArgs:
1051
970
  scope = 'buildkit'
1052
971
  if scope is not None:
1053
972
  pulumi.set(__self__, "scope", scope)
1054
- if token is None:
1055
- token = (_utilities.get_env('ACTIONS_RUNTIME_TOKEN') or '')
1056
- if token is not None:
1057
- pulumi.set(__self__, "token", token)
1058
- if url is None:
1059
- url = (_utilities.get_env('ACTIONS_CACHE_URL') or '')
1060
- if url is not None:
1061
- pulumi.set(__self__, "url", url)
1062
973
 
1063
974
  @_builtins.property
1064
975
  @pulumi.getter(name="ignoreError")
@@ -1099,39 +1010,6 @@ class CacheToGitHubActionsArgs:
1099
1010
  def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
1100
1011
  pulumi.set(self, "scope", value)
1101
1012
 
1102
- @_builtins.property
1103
- @pulumi.getter
1104
- def token(self) -> Optional[pulumi.Input[_builtins.str]]:
1105
- """
1106
- The GitHub Actions token to use. This is not a personal access tokens
1107
- and is typically generated automatically as part of each job.
1108
-
1109
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
1110
- `crazy-max/ghaction-github-runtime` is recommended to expose this
1111
- environment variable to your jobs.
1112
- """
1113
- return pulumi.get(self, "token")
1114
-
1115
- @token.setter
1116
- def token(self, value: Optional[pulumi.Input[_builtins.str]]):
1117
- pulumi.set(self, "token", value)
1118
-
1119
- @_builtins.property
1120
- @pulumi.getter
1121
- def url(self) -> Optional[pulumi.Input[_builtins.str]]:
1122
- """
1123
- The cache server URL to use for artifacts.
1124
-
1125
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
1126
- `crazy-max/ghaction-github-runtime` is recommended to expose this
1127
- environment variable to your jobs.
1128
- """
1129
- return pulumi.get(self, "url")
1130
-
1131
- @url.setter
1132
- def url(self, value: Optional[pulumi.Input[_builtins.str]]):
1133
- pulumi.set(self, "url", value)
1134
-
1135
1013
 
1136
1014
  if not MYPY:
1137
1015
  class CacheToInlineArgsDict(TypedDict):
@@ -293,39 +293,28 @@ class CacheFromAzureBlob(dict):
293
293
 
294
294
  @pulumi.output_type
295
295
  class CacheFromGitHubActions(dict):
296
+ """
297
+ Recommended for use with GitHub Actions workflows.
298
+
299
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
300
+ appropriate credentials to your GitHub workflow.
301
+ """
296
302
  def __init__(__self__, *,
297
- scope: Optional[_builtins.str] = None,
298
- token: Optional[_builtins.str] = None,
299
- url: Optional[_builtins.str] = None):
303
+ scope: Optional[_builtins.str] = None):
300
304
  """
305
+ Recommended for use with GitHub Actions workflows.
306
+
307
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
308
+ appropriate credentials to your GitHub workflow.
301
309
  :param _builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
302
310
 
303
311
  This should be set if building and caching multiple images in one
304
312
  workflow, otherwise caches will overwrite each other.
305
- :param _builtins.str token: The GitHub Actions token to use. This is not a personal access tokens
306
- and is typically generated automatically as part of each job.
307
-
308
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
309
- `crazy-max/ghaction-github-runtime` is recommended to expose this
310
- environment variable to your jobs.
311
- :param _builtins.str url: The cache server URL to use for artifacts.
312
-
313
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
314
- `crazy-max/ghaction-github-runtime` is recommended to expose this
315
- environment variable to your jobs.
316
313
  """
317
314
  if scope is None:
318
315
  scope = 'buildkit'
319
316
  if scope is not None:
320
317
  pulumi.set(__self__, "scope", scope)
321
- if token is None:
322
- token = (_utilities.get_env('ACTIONS_RUNTIME_TOKEN') or '')
323
- if token is not None:
324
- pulumi.set(__self__, "token", token)
325
- if url is None:
326
- url = (_utilities.get_env('ACTIONS_CACHE_URL') or '')
327
- if url is not None:
328
- pulumi.set(__self__, "url", url)
329
318
 
330
319
  @_builtins.property
331
320
  @pulumi.getter
@@ -338,31 +327,6 @@ class CacheFromGitHubActions(dict):
338
327
  """
339
328
  return pulumi.get(self, "scope")
340
329
 
341
- @_builtins.property
342
- @pulumi.getter
343
- def token(self) -> Optional[_builtins.str]:
344
- """
345
- The GitHub Actions token to use. This is not a personal access tokens
346
- and is typically generated automatically as part of each job.
347
-
348
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
349
- `crazy-max/ghaction-github-runtime` is recommended to expose this
350
- environment variable to your jobs.
351
- """
352
- return pulumi.get(self, "token")
353
-
354
- @_builtins.property
355
- @pulumi.getter
356
- def url(self) -> Optional[_builtins.str]:
357
- """
358
- The cache server URL to use for artifacts.
359
-
360
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
361
- `crazy-max/ghaction-github-runtime` is recommended to expose this
362
- environment variable to your jobs.
363
- """
364
- return pulumi.get(self, "url")
365
-
366
330
 
367
331
  @pulumi.output_type
368
332
  class CacheFromLocal(dict):
@@ -784,6 +748,12 @@ class CacheToAzureBlob(dict):
784
748
 
785
749
  @pulumi.output_type
786
750
  class CacheToGitHubActions(dict):
751
+ """
752
+ Recommended for use with GitHub Actions workflows.
753
+
754
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
755
+ appropriate credentials to your GitHub workflow.
756
+ """
787
757
  @staticmethod
788
758
  def __key_warning(key: str):
789
759
  suggest = None
@@ -804,27 +774,18 @@ class CacheToGitHubActions(dict):
804
774
  def __init__(__self__, *,
805
775
  ignore_error: Optional[_builtins.bool] = None,
806
776
  mode: Optional['CacheMode'] = None,
807
- scope: Optional[_builtins.str] = None,
808
- token: Optional[_builtins.str] = None,
809
- url: Optional[_builtins.str] = None):
777
+ scope: Optional[_builtins.str] = None):
810
778
  """
779
+ Recommended for use with GitHub Actions workflows.
780
+
781
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
782
+ appropriate credentials to your GitHub workflow.
811
783
  :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
812
784
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
813
785
  :param _builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
814
786
 
815
787
  This should be set if building and caching multiple images in one
816
788
  workflow, otherwise caches will overwrite each other.
817
- :param _builtins.str token: The GitHub Actions token to use. This is not a personal access tokens
818
- and is typically generated automatically as part of each job.
819
-
820
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
821
- `crazy-max/ghaction-github-runtime` is recommended to expose this
822
- environment variable to your jobs.
823
- :param _builtins.str url: The cache server URL to use for artifacts.
824
-
825
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
826
- `crazy-max/ghaction-github-runtime` is recommended to expose this
827
- environment variable to your jobs.
828
789
  """
829
790
  if ignore_error is None:
830
791
  ignore_error = False
@@ -838,14 +799,6 @@ class CacheToGitHubActions(dict):
838
799
  scope = 'buildkit'
839
800
  if scope is not None:
840
801
  pulumi.set(__self__, "scope", scope)
841
- if token is None:
842
- token = (_utilities.get_env('ACTIONS_RUNTIME_TOKEN') or '')
843
- if token is not None:
844
- pulumi.set(__self__, "token", token)
845
- if url is None:
846
- url = (_utilities.get_env('ACTIONS_CACHE_URL') or '')
847
- if url is not None:
848
- pulumi.set(__self__, "url", url)
849
802
 
850
803
  @_builtins.property
851
804
  @pulumi.getter(name="ignoreError")
@@ -874,31 +827,6 @@ class CacheToGitHubActions(dict):
874
827
  """
875
828
  return pulumi.get(self, "scope")
876
829
 
877
- @_builtins.property
878
- @pulumi.getter
879
- def token(self) -> Optional[_builtins.str]:
880
- """
881
- The GitHub Actions token to use. This is not a personal access tokens
882
- and is typically generated automatically as part of each job.
883
-
884
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
885
- `crazy-max/ghaction-github-runtime` is recommended to expose this
886
- environment variable to your jobs.
887
- """
888
- return pulumi.get(self, "token")
889
-
890
- @_builtins.property
891
- @pulumi.getter
892
- def url(self) -> Optional[_builtins.str]:
893
- """
894
- The cache server URL to use for artifacts.
895
-
896
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
897
- `crazy-max/ghaction-github-runtime` is recommended to expose this
898
- environment variable to your jobs.
899
- """
900
- return pulumi.get(self, "url")
901
-
902
830
 
903
831
  @pulumi.output_type
904
832
  class CacheToInline(dict):
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "docker-build",
4
- "version": "0.1.0-alpha.1760593959"
4
+ "version": "0.1.0-alpha.1760695240"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_docker_build
3
- Version: 0.1.0a1760593959
3
+ Version: 0.1.0a1760695240
4
4
  Summary: A Pulumi provider for building modern Docker images with buildx and BuildKit.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.com
@@ -1,17 +1,17 @@
1
1
  pulumi_docker_build/__init__.py,sha256=pxGituf1u7qo_Idr1lsc4Zr5WL9MEIMDJ7OKkPTtVOQ,1012
2
2
  pulumi_docker_build/_enums.py,sha256=3AhzKDc4hb4_SA_gq3tp6UrmGgYMbX0cB9Y1y5zEI1g,2222
3
- pulumi_docker_build/_inputs.py,sha256=iVZxlF-ysEZiFNjFfNMvj7Ul_59JiinKnqDBv5n6Bas,130545
3
+ pulumi_docker_build/_inputs.py,sha256=4DdOSkRRMWESK905hAhRqkujqZ9MX4N0MD0bdTthWFI,125109
4
4
  pulumi_docker_build/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
5
5
  pulumi_docker_build/image.py,sha256=Fo8mpli58vDy2O71d2rAv5HRBUQySNhzBCJjHAub7u8,76401
6
6
  pulumi_docker_build/index.py,sha256=Y4I4qHDWgw5XV4DelCBCPn-z9VEruU3RdOLOsEve1wE,14695
7
- pulumi_docker_build/outputs.py,sha256=mUP-pT72eyA1xXVIOGzNAvL2AW-85BVnMOgwoYJMN5s,87836
7
+ pulumi_docker_build/outputs.py,sha256=rnsqD8LOj7b3DmJbUEerUi-mFZM_4PTmVXs_GACM2E0,84514
8
8
  pulumi_docker_build/provider.py,sha256=RSQRy19tHL_pKvnajLkfACWOD9HQGMTh6SUfuKFr1VQ,5151
9
- pulumi_docker_build/pulumi-plugin.json,sha256=4rToYpIH62Si55B3Al1muj03O2XKt43LJBaH1OgKRQ8,88
9
+ pulumi_docker_build/pulumi-plugin.json,sha256=FqG7qwgEOEei2PfPgqnkAvKFZxh6rXfnnEVQ_4lMLBk,88
10
10
  pulumi_docker_build/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  pulumi_docker_build/config/__init__.py,sha256=XWnQfVtc2oPapjSXXCdORFJvMpXt_SMJQASWdTRoPmc,296
12
12
  pulumi_docker_build/config/__init__.pyi,sha256=pJaGiSFvpalRDaOjl9CFFGZB4jc1GOtdzg007WMHFU0,632
13
13
  pulumi_docker_build/config/vars.py,sha256=e8zrQA8oFgd4IJZ0HGiPPdEjiqeydFJUM8Sj3I_uWSg,967
14
- pulumi_docker_build-0.1.0a1760593959.dist-info/METADATA,sha256=iS8_iEQPqJLUPZjlgWZ9eaPKP9BuTfG75aegCmiqK6M,2623
15
- pulumi_docker_build-0.1.0a1760593959.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
- pulumi_docker_build-0.1.0a1760593959.dist-info/top_level.txt,sha256=-O-MiPQ61mhil3wD9QdYf8yA4r5vNPmBgSGdi9cOQ18,20
17
- pulumi_docker_build-0.1.0a1760593959.dist-info/RECORD,,
14
+ pulumi_docker_build-0.1.0a1760695240.dist-info/METADATA,sha256=BfKPB7liog7YJEpGwUUhDAqqg7OlQVBin1GSGtDH-NQ,2623
15
+ pulumi_docker_build-0.1.0a1760695240.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
+ pulumi_docker_build-0.1.0a1760695240.dist-info/top_level.txt,sha256=-O-MiPQ61mhil3wD9QdYf8yA4r5vNPmBgSGdi9cOQ18,20
17
+ pulumi_docker_build-0.1.0a1760695240.dist-info/RECORD,,