Skip to content

Commit f505a39

Browse files
authored
chore: remove old add new node versions
Remove old node 16 images and add new node 22, which is also the latest now.
1 parent 25edb95 commit f505a39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

+3-3
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: [16-bullseye, 18-bullseye, 16-bookworm, 18-bookworm, 20-bookworm]
16+
base-image-tag: [18-bullseye, 18-bookworm, 20-bookworm, 22-bookworm]
1717
steps:
1818
- uses: actions/checkout@master
1919
- name: Determine Java version
@@ -32,7 +32,7 @@ jobs:
3232
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 }} .
3333
docker tag ppiper/node-browsers:${{ matrix.base-image-tag }} ghcr.io/sap/ppiper-node-browsers:${{ matrix.base-image-tag }}
3434
- name: Tag latest image
35-
if: ${{ matrix.base-image-tag == '20-bookworm' }}
35+
if: ${{ matrix.base-image-tag == '22-bookworm' }}
3636
run: |
3737
docker tag ppiper/node-browsers:${{ matrix.base-image-tag }} ppiper/node-browsers:latest
3838
docker tag ghcr.io/sap/ppiper-node-browsers:${{ matrix.base-image-tag }} ghcr.io/sap/ppiper-node-browsers:latest
@@ -43,7 +43,7 @@ jobs:
4343
echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u ${{ secrets.CR_USER }} --password-stdin
4444
docker push ppiper/node-browsers:${{ matrix.base-image-tag }}
4545
docker push ghcr.io/sap/ppiper-node-browsers:${{ matrix.base-image-tag }}
46-
if [ "${{ matrix.base-image-tag }}" == 20-bookworm ]; then
46+
if [ "${{ matrix.base-image-tag }}" == 22-bookworm ]; then
4747
docker push ppiper/node-browsers:latest
4848
docker push ghcr.io/sap/ppiper-node-browsers:latest
4949
fi

0 commit comments

Comments
 (0)