Skip to content

Commit

Permalink
ci: add test build flow for PRs
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Mar 4, 2024
1 parent 08e559b commit b75d0a9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
registry: ghcr.io
username: galexrt
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Quay.io Container Registry
uses: docker/[email protected]
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"

0 comments on commit b75d0a9

Please sign in to comment.