mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-05 12:47:41 +00:00
GUACAMOLE-1754: Run docker build for PR CI.
This commit is contained in:
29
.github/workflows/pr-build.yml
vendored
Normal file
29
.github/workflows/pr-build.yml
vendored
Normal 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 .
|
@@ -1,3 +1,4 @@
|
||||
.github/**
|
||||
CONTRIBUTING
|
||||
doc/licenses/*/**/*
|
||||
doc/**/html/*.html
|
||||
|
Reference in New Issue
Block a user