You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2023/03/31 18:01:03 UTC

[guacamole-server] 01/01: GUACAMOLE-1754: Run docker build for PR CI.

This is an automated email from the ASF dual-hosted git repository.

jmuehlner pushed a commit to branch GUACAMOLE-1754-PR-build
in repository https://gitbox.apache.org/repos/asf/guacamole-server.git

commit e2e78e7695a7d779bea5fc884c6cedba9b409e68
Author: James Muehlner <ja...@guac-dev.org>
AuthorDate: Wed Mar 22 17:34:03 2023 +0000

    GUACAMOLE-1754: Run docker build for PR CI.
---
 .github/workflows/pr-build.yml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml
new file mode 100644
index 00000000..1aa64079
--- /dev/null
+++ b/.github/workflows/pr-build.yml
@@ -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 .