formatting and coverage #293
This file contains 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 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "17" | |
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 |