Skip to content

Commit

Permalink
Merge pull request #39 from SAP/addMoreNodes
Browse files Browse the repository at this point in the history
add bullseye and version 12-18
  • Loading branch information
radsoulbeard authored Sep 2, 2022
2 parents a439eef + 169913a commit b053c65
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: [10-buster, 12-buster, 14-buster, 16-buster]
base-image-tag: [12-buster, 14-buster, 16-buster, 12-bullseye, 14-bullseye, 16-bullseye, 18-bullseye]
steps:
- uses: actions/checkout@master
- name: Test
Expand All @@ -24,7 +24,7 @@ jobs:
docker build --build-arg=BASE_IMAGE_TAG=${{ matrix.base-image-tag }} --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 == '10-buster' }}
if: ${{ matrix.base-image-tag == '18-bullseye' }}
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 @@ -35,7 +35,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 }}" == 10-buster ]; then
if [ "${{ matrix.base-image-tag }}" == 18-bullseye ]; 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: [10-buster, 12-buster, 14-buster, 16-buster]
base-image-tag: [12-buster, 14-buster, 16-buster, 12-bullseye, 14-bullseye, 16-bullseye, 18-bullseye]
steps:
- uses: actions/checkout@v1
- name: Test
Expand Down Expand Up @@ -40,15 +40,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 10 image
if: ${{ matrix.base-image-tag == '10-buster' }}
- name: Tag and push node 18 image
if: ${{ matrix.base-image-tag == '18-bullseye' }}
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 == '10-buster' }}
if: ${{ matrix.base-image-tag == '18-bullseye' }}
with:
piper-version: latest
command: githubPublishRelease
Expand Down

0 comments on commit b053c65

Please sign in to comment.