Fix build.yml for nonroot images
authorPablo Zmdl <redacted>
Wed, 30 Apr 2025 12:41:05 +0000 (14:41 +0200)
committerPablo Zmdl <redacted>
Wed, 30 Apr 2025 12:41:05 +0000 (14:41 +0200)
Copying the correct details from test.yml, they were just overlooked in
build.yml

.github/workflows/build.yml

index 187b6fa428da7b07d22f91dcf8ab5ebe3fd1dc7f..48faa44653313bf9505f602c620c2b7bcf1c71cf 100644 (file)
@@ -46,13 +46,14 @@ jobs:
             docker-tag: roundcube/roundcubemail:1.6.x-apache-nonroot,roundcube/roundcubemail:1.6.10-apache-nonroot,roundcube/roundcubemail:latest-apache-nonroot,roundcube/roundcubemail:latest-nonroot
             test-tag: roundcube/roundcubemail:latest-apache-nonroot
             target: 'nonroot'
+            http-port: '8000'
           - variant: 'fpm'
-            test-files: 'apache-postgres'
+            test-files: 'fpm-postgres'
             docker-tag: roundcube/roundcubemail:1.6.x-fpm-nonroot,roundcube/roundcubemail:1.6.10-fpm-nonroot,roundcube/roundcubemail:latest-fpm-nonroot
             test-tag: roundcube/roundcubemail:latest-fpm-nonroot
             target: 'nonroot'
           - variant: 'fpm-alpine'
-            test-files: 'apache-postgres'
+            test-files: 'fpm-postgres'
             docker-tag: roundcube/roundcubemail:1.6.x-fpm-alpine-nonroot,roundcube/roundcubemail:1.6.10-fpm-alpine-nonroot,roundcube/roundcubemail:latest-fpm-alpine-nonroot
             test-tag: roundcube/roundcubemail:latest-fpm-alpine-nonroot
             target: 'nonroot'
@@ -89,6 +90,7 @@ jobs:
       - name: Run tests
         env:
           ROUNDCUBEMAIL_TEST_IMAGE: ${{ matrix.test-tag }}
+          HTTP_PORT: ${{ matrix.http-port || '80' }}
         run: |
           set -exu;
           for testFile in ${{ join(matrix.test-files, ' ') }};
git clone https://git.99rst.org/PROJECT