Build, Test and Deploy samply/tomcat #64
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
| # This workflow represents the continuous integration pipeline for the common samply/tomcat docker image | |
| name: Build, Test and Deploy samply/tomcat | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 8 * * *" # everyday at 8am | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - "*.*.*" | |
| pull_request: | |
| jobs: | |
| ci: | |
| strategy: | |
| matrix: | |
| include: | |
| - tomcat_version: "9-jdk17-temurin-noble" | |
| - tomcat_version: "10" | |
| uses: samply/github-workflows/.github/workflows/docker-ci.yml@main | |
| with: | |
| image-name: "samply/tomcat" | |
| image-tag-prefix: "${{ matrix.tomcat_version }}-" | |
| build-file: "./tomcat/Dockerfile" | |
| build-args: | | |
| TOMCAT_VERSION=${{ matrix.tomcat_version }} | |
| secrets: | |
| DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
| DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} |