fix erros made in pojo removement process on mapping #40
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, Test and Deploy | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| jobs: | |
| build_test: | |
| uses: eclipse-daanse/.github/.github/workflows/reuse_java_build_test.yml@main | |
| maven_deploy: | |
| if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} | |
| needs: build_test | |
| uses: eclipse-daanse/.github/.github/workflows/reuse_java_deploy.yml@main | |
| secrets: inherit | |
| container_deploy: | |
| if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} | |
| needs: build_test | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0 | |
| - name: Download probe artifacts | |
| uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 | |
| with: | |
| name: jar-files | |
| path: . | |
| - name: Update dockerhub repo description | |
| uses: peter-evans/dockerhub-description@432a30c9e07499fd01da9f8a49f0faf9e0ca5b77 # v4.0.2 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_TOKEN }} | |
| repository: eclipsedaanse/probe | |
| readme-filepath: ./application/probe/README.md | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.2.1 | |
| with: | |
| platforms: all | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1 | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_TOKEN }} | |
| - name: Login to Github Docker Registry | |
| uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and Push Multi-Arch Docker Image | |
| uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0 | |
| with: | |
| context: . | |
| file: "application/probe/container/Dockerfile" | |
| platforms: linux/amd64,linux/arm64/v8 | |
| push: true | |
| tags: | | |
| docker.io/eclipsedaanse/probe:snapshot | |
| ghcr.io/eclipse-daanse/probe:snapshot | |
| # docker.io/eclipsedaanse/probe:${{ github.sha }} | |
| # ghcr.io/eclipse-daanse/probe:${{ github.sha }} |