mike-jumper commented on code in PR #811:
URL: https://github.com/apache/guacamole-client/pull/811#discussion_r1143816160


##########
.github/workflows/pr-build.yml:
##########
@@ -0,0 +1,27 @@
+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
+
+      - name: Build Docker container
+        shell: sh
+        run: |
+          docker build .

Review Comment:
   Should probably ensure the build uses the latest images and does not attempt 
to populate the build cache of whichever runner gets the build. I think that 
would mean: `--pull --no-cache --force-rm`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to