diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml new file mode 100644 index 0000000..9c53a1f --- /dev/null +++ b/.github/workflows/test-build.yml @@ -0,0 +1,31 @@ +on: + pull_request: + branches: + - main + - develop + workflow_dispatch: + +permissions: + contents: read + packages: write + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Log in to GHCR + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and push runner image + uses: docker/build-push-action@v6 + with: + push: true + tags: ghcr.io/R15-Software-Dev/scholarships-runner:latest \ No newline at end of file