test-files: 'fpm-postgres'
docker-tag: roundcube/roundcubemail:1.6.x-fpm-alpine,roundcube/roundcubemail:1.6.10-fpm-alpine,roundcube/roundcubemail:latest-fpm-alpine
test-tag: roundcube/roundcubemail:latest-fpm-alpine
+ target: 'root'
+ - variant: 'apache'
+ test-files: 'apache-postgres'
+ 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'
+ - variant: 'fpm'
+ test-files: 'apache-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'
+ 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'
steps:
- name: Checkout repository
- uses: actions/checkout@v4
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Get docker hub username
id: creds
run: echo '::set-output name=username::${{ secrets.DOCKER_PULL_USERNAME }}'
- variant: 'fpm-alpine'
test-files: 'fpm-postgres'
docker-tag: roundcube/roundcubemail:test-fpm-alpine
+ target: 'root'
+ - variant: 'apache'
+ test-files: 'apache-postgres'
+ docker-tag: roundcube/roundcubemail:test-apache-nonroot
+ target: 'nonroot'
+ http-port: '8000'
+ - variant: 'fpm'
+ test-files: 'fpm-postgres'
+ docker-tag: roundcube/roundcubemail:test-fpm-nonroot
+ target: 'nonroot'
+ - variant: 'fpm-alpine'
+ test-files: 'fpm-postgres'
+ docker-tag: roundcube/roundcubemail:test-fpm-alpine-nonroot
+ target: 'nonroot'
steps:
- name: Checkout repository
- uses: actions/checkout@v4
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Get docker hub username
id: creds
run: echo '::set-output name=username::${{ secrets.DOCKER_PULL_USERNAME }}'