Update eclipse-temurin Docker tag to v21.0.12_8-jre #495
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Verify PR | |
| on: | |
| pull_request: | |
| branches: | |
| - "**" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '21' | |
| distribution: 'adopt' | |
| cache: maven | |
| - name: Build with Maven | |
| run: mvn --batch-mode verify | |
| - run: mkdir dist && cp cli/target/*.tar.gz dist | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Build docker image | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: ./cli | |
| platforms: linux/amd64,linux/arm64 | |
| push: false | |
| cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USER }}/text2confl:buildcache | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: cli.tar.gz | |
| path: dist | |
| retention-days: 7 |