Skip to content

Commit

Permalink
Merge pull request #54 from SAP/node22
Browse files Browse the repository at this point in the history
chore: remove old add new node versions
  • Loading branch information
o-liver authored Oct 11, 2024
2 parents 25edb95 + c07e866 commit 3d1714d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
base-image-tag: [16-bullseye, 18-bullseye, 16-bookworm, 18-bookworm, 20-bookworm]
base-image-tag: [18-bullseye, 18-bookworm, 20-bookworm, 22-bookworm]
steps:
- uses: actions/checkout@master
- name: Determine Java version
Expand All @@ -32,7 +32,7 @@ jobs:
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 }} .
docker tag ppiper/node-browsers:${{ matrix.base-image-tag }} ghcr.io/sap/ppiper-node-browsers:${{ matrix.base-image-tag }}
- name: Tag latest image
if: ${{ matrix.base-image-tag == '20-bookworm' }}
if: ${{ matrix.base-image-tag == '22-bookworm' }}
run: |
docker tag ppiper/node-browsers:${{ matrix.base-image-tag }} ppiper/node-browsers:latest
docker tag ghcr.io/sap/ppiper-node-browsers:${{ matrix.base-image-tag }} ghcr.io/sap/ppiper-node-browsers:latest
Expand All @@ -43,7 +43,7 @@ jobs:
echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u ${{ secrets.CR_USER }} --password-stdin
docker push ppiper/node-browsers:${{ matrix.base-image-tag }}
docker push ghcr.io/sap/ppiper-node-browsers:${{ matrix.base-image-tag }}
if [ "${{ matrix.base-image-tag }}" == 20-bookworm ]; then
if [ "${{ matrix.base-image-tag }}" == 22-bookworm ]; then
docker push ppiper/node-browsers:latest
docker push ghcr.io/sap/ppiper-node-browsers:latest
fi
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
base-image-tag: [16-bullseye, 18-bullseye, 16-bookworm, 18-bookworm, 20-bookworm]
base-image-tag: [18-bullseye, 18-bookworm, 20-bookworm, 22-bookworm]
steps:
- uses: actions/checkout@v3
- name: Determine Java version
Expand Down Expand Up @@ -48,15 +48,15 @@ jobs:
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 }}
docker push ppiper/node-browsers:${{ env.PIPER_version }}-${{ matrix.base-image-tag }}
docker push ghcr.io/sap/ppiper-node-browsers:${{ env.PIPER_version }}-${{ matrix.base-image-tag }}
- name: Tag and push node 20 image
if: ${{ matrix.base-image-tag == '20-bookworm' }}
- name: Tag and push node 22 image
if: ${{ matrix.base-image-tag == '22-bookworm' }}
run: |
docker tag ppiper/node-browsers:${{ env.PIPER_version }}-${{ matrix.base-image-tag }} ppiper/node-browsers:${{ env.PIPER_version }}
docker tag ghcr.io/sap/ppiper-node-browsers:${{ env.PIPER_version }}-${{ matrix.base-image-tag }} ghcr.io/sap/ppiper-node-browsers:${{ env.PIPER_version }}
docker push ppiper/node-browsers:${{ env.PIPER_version }}
docker push ghcr.io/sap/ppiper-node-browsers:${{ env.PIPER_version }}
- uses: SAP/project-piper-action@master
if: ${{ matrix.base-image-tag == '20-bookworm' }}
if: ${{ matrix.base-image-tag == '22-bookworm' }}
with:
piper-version: latest
command: githubPublishRelease
Expand Down

0 comments on commit 3d1714d

Please sign in to comment.