GUACAMOLE-1754: Run docker build for PR CI.

This commit is contained in:
James Muehlner
2023-03-21 18:00:35 +00:00
parent b980648808
commit 45955b67e0
2 changed files with 30 additions and 0 deletions

29
.github/workflows/pr-build.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Pull request CI build
# Run build for all pull requests
on:
pull_request:
# Limit to only one build for a given PR source branch at a time,
# cancelling any in-progress builds
concurrency:
group: guacamole-client-pr-${{ github.head_ref }}
cancel-in-progress: true
jobs:
docker_build:
name: Run docker build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Build Docker container
shell: sh
run: |
docker build --pull --no-cache --force-rm .

View File

@@ -1,3 +1,4 @@
.github/**
CONTRIBUTING
doc/licenses/*/**/*
doc/**/html/*.html