|
52 | 52 | AlpineArch("ppc64le", "ppc64le", "linux/ppc64le", "powerpc64le-unknown-linux-musl"), |
53 | 53 | ] |
54 | 54 |
|
| 55 | +latest_alpine_version = "3.22" |
55 | 56 | alpine_versions = [ |
56 | 57 | "3.20", |
57 | 58 | "3.21", |
58 | | - "3.22", |
| 59 | + latest_alpine_version, |
59 | 60 | ] |
60 | 61 |
|
61 | | -default_alpine_version = "3.22" |
62 | | - |
63 | 62 | def rustup_hash(arch): |
64 | 63 | url = f"https://static.rust-lang.org/rustup/archive/{rustup_version}/{arch}/rustup-init.sha256" |
65 | 64 | with request.urlopen(url) as f: |
@@ -160,7 +159,7 @@ def update_mirror_stable_ci(): |
160 | 159 | for version_tag in version_tags(): |
161 | 160 | tags.append(f"{version_tag}-alpine{version}") |
162 | 161 | tags.append(f"alpine{version}") |
163 | | - if version == default_alpine_version: |
| 162 | + if version == latest_alpine_version: |
164 | 163 | for version_tag in version_tags(): |
165 | 164 | tags.append(f"{version_tag}-alpine") |
166 | 165 | tags.append("alpine") |
@@ -242,7 +241,7 @@ def update_nightly_ci(): |
242 | 241 | platforms = ",".join(platforms) |
243 | 242 |
|
244 | 243 | tags = [f"nightly-alpine{version}"] |
245 | | - if version == default_alpine_version: |
| 244 | + if version == latest_alpine_version: |
246 | 245 | tags.append("nightly-alpine") |
247 | 246 |
|
248 | 247 | versions += f" - name: alpine{version}\n" |
@@ -328,7 +327,7 @@ def generate_stackbrew_library(): |
328 | 327 | for version_tag in version_tags(): |
329 | 328 | tags.append(f"{version_tag}-alpine{version}") |
330 | 329 | tags.append(f"alpine{version}") |
331 | | - if version == default_alpine_version: |
| 330 | + if version == latest_alpine_version: |
332 | 331 | for version_tag in version_tags(): |
333 | 332 | tags.append(f"{version_tag}-alpine") |
334 | 333 | tags.append("alpine") |
|
0 commit comments