Add benchmark results for version 0.19.1 (#131) #184
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: Build docker images | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'feature/**' | |
| - 'bugfix/**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - name: Set version based on branch | |
| id: version | |
| run: | | |
| BASE_VERSION=$(grep version gradle.properties | cut -d= -f2) | |
| COMMIT_HASH=$(git rev-parse --short HEAD) | |
| if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then | |
| VERSION="$BASE_VERSION" | |
| else | |
| VERSION="$BASE_VERSION-$COMMIT_HASH" | |
| fi | |
| echo "VERSION=$VERSION" >> $GITHUB_ENV | |
| echo "version=$VERSION" >> $GITHUB_OUTPUT | |
| echo "Building version: $VERSION" | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| java-package: jdk | |
| architecture: x64 | |
| distribution: temurin | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v2 | |
| with: | |
| username: ${{ secrets.DOCKER_HUB_USER }} | |
| password: ${{ secrets.DOCKER_HUB_TOKEN }} | |
| - name: Build and push images | |
| run: bash docker-action.sh | |
| env: | |
| VERSION: ${{ env.VERSION }} | |
| GITHUB_REF: ${{ github.ref }} | |
| PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }} | |
| MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} | |
| MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} | |
| ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }} | |
| ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }} | |
| ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }} |