Format list of tags a little more readable
authorPablo Zmdl <redacted>
Wed, 11 Jun 2025 12:53:17 +0000 (14:53 +0200)
committerPablo Zmdl <redacted>
Wed, 11 Jun 2025 13:03:13 +0000 (15:03 +0200)
.github/workflows/build.yml

index 100b1473d6dd432f8f73f98cd41c468f7e9e732e..6b67190f5e4d13cbd47aca060e91c12cba43d2c0 100644 (file)
@@ -30,22 +30,43 @@ jobs:
       max-parallel: 10
       matrix:
         include:
+          # The tags are pretty repetetive, but we can't properly script things using GitHub actions, and want to avoid scripting all the things manually, so we live with it.
           - variant: 'apache'
             test-files: 'apache-postgres'
-            docker-tag: roundcube/roundcubemail:1.6.x-apache,roundcube/roundcubemail:1.6.11-apache,roundcube/roundcubemail:latest-apache,roundcube/roundcubemail:latest
-            docker-tag-nonroot: roundcube/roundcubemail:1.6.x-apache-nonroot,roundcube/roundcubemail:1.6.11-apache-nonroot,roundcube/roundcubemail:latest-apache-nonroot,roundcube/roundcubemail:latest-nonroot
+            docker-tag: |
+              roundcube/roundcubemail:1.6.x-apache
+              roundcube/roundcubemail:1.6.11-apache
+              roundcube/roundcubemail:latest-apache
+              roundcube/roundcubemail:latest
+            docker-tag-nonroot: |
+              roundcube/roundcubemail:1.6.x-apache-nonroot
+              roundcube/roundcubemail:1.6.11-apache-nonroot
+              roundcube/roundcubemail:latest-apache-nonroot
+              roundcube/roundcubemail:latest-nonroot
             test-tag: roundcube/roundcubemail:latest-apache
             test-tag-nonroot: roundcube/roundcubemail:latest-apache-nonroot
           - variant: 'fpm'
             test-files: 'fpm-postgres'
-            docker-tag: roundcube/roundcubemail:1.6.x-fpm,roundcube/roundcubemail:1.6.11-fpm,roundcube/roundcubemail:latest-fpm
-            docker-tag-nonroot: roundcube/roundcubemail:1.6.x-fpm-nonroot,roundcube/roundcubemail:1.6.11-fpm-nonroot,roundcube/roundcubemail:latest-fpm-nonroot
+            docker-tag: |
+              roundcube/roundcubemail:1.6.x-fpm
+              roundcube/roundcubemail:1.6.11-fpm
+              roundcube/roundcubemail:latest-fpm
+            docker-tag-nonroot: |
+              roundcube/roundcubemail:1.6.x-fpm-nonroot
+              roundcube/roundcubemail:1.6.11-fpm-nonroot
+              roundcube/roundcubemail:latest-fpm-nonroot
             test-tag: roundcube/roundcubemail:latest-fpm
             test-tag-nonroot: roundcube/roundcubemail:latest-fpm-nonroot
           - variant: 'fpm-alpine'
             test-files: 'fpm-postgres'
-            docker-tag: roundcube/roundcubemail:1.6.x-fpm-alpine,roundcube/roundcubemail:1.6.11-fpm-alpine,roundcube/roundcubemail:latest-fpm-alpine
-            docker-tag-nonroot: roundcube/roundcubemail:1.6.x-fpm-alpine-nonroot,roundcube/roundcubemail:1.6.11-fpm-alpine-nonroot,roundcube/roundcubemail:latest-fpm-alpine-nonroot
+            docker-tag: |
+              roundcube/roundcubemail:1.6.x-fpm-alpine
+              roundcube/roundcubemail:1.6.11-fpm-alpine
+              roundcube/roundcubemail:latest-fpm-alpine
+            docker-tag-nonroot: |
+              roundcube/roundcubemail:1.6.x-fpm-alpine-nonroot
+              roundcube/roundcubemail:1.6.11-fpm-alpine-nonroot
+              roundcube/roundcubemail:latest-fpm-alpine-nonroot
             test-tag: roundcube/roundcubemail:latest-fpm-alpine
             test-tag-nonroot: roundcube/roundcubemail:latest-fpm-alpine-nonroot
             target: 'root'
git clone https://git.99rst.org/PROJECT