Skip to content

Commit

Permalink
GUACAMOLE-1754: Run docker build for PR CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuehlner committed Mar 31, 2023
1 parent 77ec058 commit e2e78e7
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -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-server-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 .

0 comments on commit e2e78e7

Please sign in to comment.