Skip to content

Commit bde635c

Browse files
authored
chore: add node 24 (#58)
* chore: add node 24 to build * chore: release node 24
1 parent 2791dcf commit bde635c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
base-image-tag: [20-bookworm, 22-bookworm]
16+
base-image-tag: [20-bookworm, 22-bookworm, 24-bookworm]
1717
steps:
1818
- uses: actions/checkout@master
1919
- name: Determine Java version
@@ -28,7 +28,7 @@ jobs:
2828
docker build --build-arg=BASE_IMAGE_TAG=${{ matrix.base-image-tag }} --build-arg=JAVA_VERSION=${{ steps.java_version.outputs.version }} --tag ppiper/node-browsers:${{ matrix.base-image-tag }} .
2929
docker tag ppiper/node-browsers:${{ matrix.base-image-tag }} ghcr.io/sap/ppiper-node-browsers:${{ matrix.base-image-tag }}
3030
- name: Tag latest image
31-
if: ${{ matrix.base-image-tag == '22-bookworm' }}
31+
if: ${{ matrix.base-image-tag == '24-bookworm' }}
3232
run: |
3333
docker tag ppiper/node-browsers:${{ matrix.base-image-tag }} ppiper/node-browsers:latest
3434
docker tag ghcr.io/sap/ppiper-node-browsers:${{ matrix.base-image-tag }} ghcr.io/sap/ppiper-node-browsers:latest
@@ -39,7 +39,7 @@ jobs:
3939
echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u ${{ secrets.CR_USER }} --password-stdin
4040
docker push ppiper/node-browsers:${{ matrix.base-image-tag }}
4141
docker push ghcr.io/sap/ppiper-node-browsers:${{ matrix.base-image-tag }}
42-
if [ "${{ matrix.base-image-tag }}" == 22-bookworm ]; then
42+
if [ "${{ matrix.base-image-tag }}" == 24-bookworm ]; then
4343
docker push ppiper/node-browsers:latest
4444
docker push ghcr.io/sap/ppiper-node-browsers:latest
4545
fi

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
base-image-tag: [20-bookworm, 22-bookworm]
15+
base-image-tag: [20-bookworm, 22-bookworm, 24-bookworm]
1616
steps:
1717
- uses: actions/checkout@v3
1818
- name: Determine Java version
@@ -44,15 +44,15 @@ jobs:
4444
docker tag ppiper/node-browsers:${{ env.PIPER_version }}-${{ matrix.base-image-tag }} ghcr.io/sap/ppiper-node-browsers:${{ env.PIPER_version }}-${{ matrix.base-image-tag }}
4545
docker push ppiper/node-browsers:${{ env.PIPER_version }}-${{ matrix.base-image-tag }}
4646
docker push ghcr.io/sap/ppiper-node-browsers:${{ env.PIPER_version }}-${{ matrix.base-image-tag }}
47-
- name: Tag and push node 22 image
48-
if: ${{ matrix.base-image-tag == '22-bookworm' }}
47+
- name: Tag and push node 24 image
48+
if: ${{ matrix.base-image-tag == '24-bookworm' }}
4949
run: |
5050
docker tag ppiper/node-browsers:${{ env.PIPER_version }}-${{ matrix.base-image-tag }} ppiper/node-browsers:${{ env.PIPER_version }}
5151
docker tag ghcr.io/sap/ppiper-node-browsers:${{ env.PIPER_version }}-${{ matrix.base-image-tag }} ghcr.io/sap/ppiper-node-browsers:${{ env.PIPER_version }}
5252
docker push ppiper/node-browsers:${{ env.PIPER_version }}
5353
docker push ghcr.io/sap/ppiper-node-browsers:${{ env.PIPER_version }}
5454
- uses: SAP/project-piper-action@master
55-
if: ${{ matrix.base-image-tag == '22-bookworm' }}
55+
if: ${{ matrix.base-image-tag == '24-bookworm' }}
5656
with:
5757
piper-version: latest
5858
command: githubPublishRelease

0 commit comments

Comments
 (0)