Skip to content

Commit

Permalink
Add support for Alpine 3.21 and remove EOL 3.17
Browse files Browse the repository at this point in the history
  • Loading branch information
Min Choi committed Dec 10, 2024
1 parent 043a4ed commit 0dde294
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/verify-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
fail-fast: false
matrix:
version: [ 8, 11, 17, 21, 23 ]
os_version: ["3.17", "3.18", "3.19", "3.20"]
os_version: ["3.18", "3.19", "3.20", "3.21"]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.21

ARG version=11.0.25.9.1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.21

ARG version=17.0.13.11.1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.21

ARG version=21.0.5.11.1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.21

ARG version=23.0.1.8.1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.21

ARG version=8.432.06.1

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.21

ARG version=8.432.06.1

Expand Down
2 changes: 1 addition & 1 deletion bin/apply-template.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def process_template_files(major_version, version, platform):
input_parameter['MAJOR_VERSION'] = major_version
if platform == 'alpine':
# Update .github/workflows/verify-images.yml as well when alpine versions changes
os_versions = ['3.17', '3.18', '3.19', '3.20']
os_versions = ['3.18', '3.19', '3.20', '3.21']
try:
shutil.rmtree(f"{major_version}/jdk/{platform}")
shutil.rmtree(f"{major_version}/jre/{platform}")
Expand Down
4 changes: 2 additions & 2 deletions bin/tag-generator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json

DEFAULT_ALPINE_VERSION = '3.20'
ALPINE_VERSIONS = ['3.17', '3.18', '3.19', '3.20']
DEFAULT_ALPINE_VERSION = '3.21'
ALPINE_VERSIONS = ['3.18', '3.19', '3.20', '3.21']

def generate_tags(key, version):
update = version.split('.')[1] if (key == '8') else version.split('.')[2]
Expand Down

0 comments on commit 0dde294

Please sign in to comment.