pulumi-docker-build 0.0.10__py3-none-any.whl → 0.0.11__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.

@@ -332,7 +332,7 @@ class CacheFromGitHubActionsArgs:
332
332
  environment variable to your jobs.
333
333
  """
334
334
  if scope is None:
335
- scope = (_utilities.get_env('buildkit') or '')
335
+ scope = 'buildkit'
336
336
  if scope is not None:
337
337
  pulumi.set(__self__, "scope", scope)
338
338
  if token is None:
@@ -1048,7 +1048,7 @@ class CacheToGitHubActionsArgs:
1048
1048
  if mode is not None:
1049
1049
  pulumi.set(__self__, "mode", mode)
1050
1050
  if scope is None:
1051
- scope = (_utilities.get_env('buildkit') or '')
1051
+ scope = 'buildkit'
1052
1052
  if scope is not None:
1053
1053
  pulumi.set(__self__, "scope", scope)
1054
1054
  if token is None:
@@ -89,12 +89,16 @@ def _get_semver_version():
89
89
  elif pep440_version.pre_tag == 'rc':
90
90
  prerelease = f"rc.{pep440_version.pre}"
91
91
  elif pep440_version.dev is not None:
92
+ # PEP440 has explicit support for dev builds, while semver encodes them as "prerelease" versions. To bridge
93
+ # between the two, we convert our dev build version into a prerelease tag. This matches what all of our other
94
+ # packages do when constructing their own semver string.
92
95
  prerelease = f"dev.{pep440_version.dev}"
96
+ elif pep440_version.local is not None:
97
+ # PEP440 only allows a small set of prerelease tags, so when converting an arbitrary prerelease,
98
+ # PypiVersion in /pkg/codegen/python/utilities.go converts it to a local version. Therefore, we need to
99
+ # do the reverse conversion here and set the local version as the prerelease tag.
100
+ prerelease = pep440_version.local
93
101
 
94
- # The only significant difference between PEP440 and semver as it pertains to us is that PEP440 has explicit support
95
- # for dev builds, while semver encodes them as "prerelease" versions. In order to bridge between the two, we convert
96
- # our dev build version into a prerelease tag. This matches what all of our other packages do when constructing
97
- # their own semver string.
98
102
  return SemverVersion(major=major, minor=minor, patch=patch, prerelease=prerelease)
99
103
 
100
104
 
@@ -315,7 +315,7 @@ class CacheFromGitHubActions(dict):
315
315
  environment variable to your jobs.
316
316
  """
317
317
  if scope is None:
318
- scope = (_utilities.get_env('buildkit') or '')
318
+ scope = 'buildkit'
319
319
  if scope is not None:
320
320
  pulumi.set(__self__, "scope", scope)
321
321
  if token is None:
@@ -835,7 +835,7 @@ class CacheToGitHubActions(dict):
835
835
  if mode is not None:
836
836
  pulumi.set(__self__, "mode", mode)
837
837
  if scope is None:
838
- scope = (_utilities.get_env('buildkit') or '')
838
+ scope = 'buildkit'
839
839
  if scope is not None:
840
840
  pulumi.set(__self__, "scope", scope)
841
841
  if token is None:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "docker-build",
4
- "version": "0.0.10"
4
+ "version": "0.0.11"
5
5
  }
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pulumi_docker_build
3
- Version: 0.0.10
3
+ Version: 0.0.11
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=jbA6SMpisvwJDycUKuo4IXVJ5_qjIao_1iPP9lcZ-Vw,983
2
2
  pulumi_docker_build/_enums.py,sha256=yfsDmimBobvf70zx6VAR_6ABp50Dan452rpIFVs8jkA,1928
3
- pulumi_docker_build/_inputs.py,sha256=aXJ4xqK0KBLf6vQWsqsnYM1yqSHfaB64nv-Vcp6_4Og,124044
4
- pulumi_docker_build/_utilities.py,sha256=UL5vEmfNrBfiaeFQS69cz7xlHoBnPH8PY_UIVNwShcM,10486
3
+ pulumi_docker_build/_inputs.py,sha256=yGwPwQyaozQCeQ7NJPz1NKzGFdzL12q2pPPLpWt0ocM,123988
4
+ pulumi_docker_build/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
5
5
  pulumi_docker_build/image.py,sha256=5Zd6zmfsQUCVFogp6Wu-5RceMxkl0x_nuOG64fO7ZWg,74877
6
6
  pulumi_docker_build/index.py,sha256=IMpevb9_ktXNcgF17qMAq-Dh15HC4HZbKp0A62faoEw,14291
7
- pulumi_docker_build/outputs.py,sha256=F-PATYfU3BD0f0PEdGsaWMYSthp698pgX0LH8Mfk9lU,83415
7
+ pulumi_docker_build/outputs.py,sha256=ESVMhyw1EVzfaDQEXzC-Q62sFPpN40xuraylEmJMPQs,83359
8
8
  pulumi_docker_build/provider.py,sha256=ds0_lPqQ0LuP9fsHLUHg6IvolD4fIBnU3oife3038x4,4972
9
- pulumi_docker_build/pulumi-plugin.json,sha256=tkOb6ZOkPcggCxC6t1_YBcYBVF0gjUIZdv2Csz2EKcY,72
9
+ pulumi_docker_build/pulumi-plugin.json,sha256=oEFVbcns31tYjdMLyqRhsksQigkT9mRjye9J0ghUTxY,72
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=2Yij9qLlwh_pi5ytfw8UgvI4KgmE-OC2fNuRQzFrKgk,615
13
13
  pulumi_docker_build/config/vars.py,sha256=IeckzaS3wTGp0HlnJtyacWm2u7rm150AuK9jv6r9pGY,930
14
- pulumi_docker_build-0.0.10.dist-info/METADATA,sha256=LALNXzTgfuqEVgif2L9vAEkqf8FipJ2WEefgpDwm4fU,2610
15
- pulumi_docker_build-0.0.10.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
16
- pulumi_docker_build-0.0.10.dist-info/top_level.txt,sha256=-O-MiPQ61mhil3wD9QdYf8yA4r5vNPmBgSGdi9cOQ18,20
17
- pulumi_docker_build-0.0.10.dist-info/RECORD,,
14
+ pulumi_docker_build-0.0.11.dist-info/METADATA,sha256=_mnZ8Anbafk9M1-IJCG2nld8cxNe224t2mYk3YL31XQ,2610
15
+ pulumi_docker_build-0.0.11.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
16
+ pulumi_docker_build-0.0.11.dist-info/top_level.txt,sha256=-O-MiPQ61mhil3wD9QdYf8yA4r5vNPmBgSGdi9cOQ18,20
17
+ pulumi_docker_build-0.0.11.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5