added safe guards for when the oauth2 providers are null #502
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Source Code | |
| uses: actions/checkout@v4 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{github.actor}} | |
| password: ${{secrets.GITHUB_TOKEN}} | |
| - name: Setup Java 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "21" | |
| distribution: "temurin" | |
| - name: Build and Push Server Container | |
| run: | | |
| make build_server | |
| docker push ghcr.io/r-sandor/findfirst-server:latest | |
| - name: Build and Push Screenshot Container | |
| run: | | |
| make build_screenshot | |
| docker push ghcr.io/r-sandor/findfirst-screenshot:latest | |
| - name: Build and Push Frontend Container | |
| run: | | |
| make build_frontend | |
| docker push ghcr.io/r-sandor/findfirst-frontend:latest |