Skip to content

Commit

Permalink
Prepare image for jdk11
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Draier committed Sep 19, 2023
1 parent 420d2e7 commit 0657e97
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ on:
push:
branches:
- main
- jdk-*

env:
cci_src_image: cimg/openjdk:8.0.312-node
cci_src_image: cimg/openjdk:11.0.20-node

jobs:
build:
Expand All @@ -27,11 +28,13 @@ jobs:
run: |
echo "CCI_SRC_IMAGE=${{ env.cci_src_image }}" >> $GITHUB_ENV
echo "JAHIA_TAG=$(echo ${{ env.cci_src_image }} | sed -r 's/[:\/]+/_/g')" >> $GITHUB_ENV
echo "FROM_IMAGE=jahia/cimg-mvn-cache:$(echo ${{ env.cci_src_image }} | sed -r 's/[:\/]+/_/g')" >> $GITHUB_ENV
- name: Printing CircleCI image tags
shell: bash
run: |
echo "CCI_SRC_IMAGE=${CCI_SRC_IMAGE}"
echo "JAHIA_TAG=${JAHIA_TAG}"
echo "FROM_IMAGE=${FROM_IMAGE}"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- uses: webfactory/[email protected]
Expand All @@ -51,4 +54,4 @@ jobs:
ssh: default
push: true
tags: jahia/cimg-mvn-cache:ga_${{ env.JAHIA_TAG }}
file: Dockerfile-github
file: Dockerfile-github

0 comments on commit 0657e97

Please sign in to comment.