From b75d0a9b0d3e7eed8100362ba37112370d26c95a Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Mon, 4 Mar 2024 20:20:24 +0100 Subject: [PATCH] ci: add test build flow for PRs Signed-off-by: Alexander Trost --- .github/workflows/test-build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test-build.yml diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml new file mode 100644 index 0000000..db02590 --- /dev/null +++ b/.github/workflows/test-build.yml @@ -0,0 +1,25 @@ +name: build +on: + pull_request: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Login to GitHub Container Registry + uses: docker/login-action@v3.0.0 + with: + registry: ghcr.io + username: galexrt + password: ${{ secrets.GITHUB_TOKEN }} + - name: Login to Quay.io Container Registry + uses: docker/login-action@v3.0.0 + with: + registry: quay.io + username: ${{ secrets.REGISTRY_QUAYIO_USERNAME }} + password: ${{ secrets.REGISTRY_QUAYIO_PASSWORD }} + - name: Build Container Image + run: | + make container-build VERSION="testbuild-pr"