mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
Add simple PR gate that builds docker container for one platform
This commit is contained in:
parent
b5f6d46d35
commit
bb6f3d91b0
1 changed files with 24 additions and 0 deletions
24
.github/workflows/pr-gate.yml
vendored
Normal file
24
.github/workflows/pr-gate.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
name: PR Gate
|
||||||
|
|
||||||
|
# This gate simply validates that we can build the docker container.
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: ["main"]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: "true"
|
||||||
|
|
||||||
|
- name: Build Docker image
|
||||||
|
id: build
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
Loading…
Reference in a new issue