Skip to content

Flex 3.22 Dockers Build #23

Flex 3.22 Dockers Build

Flex 3.22 Dockers Build #23

name: Flex 3.22 Dockers Build
# This workflow builds the OpenEMR Flex Docker images with Alpine 3.22 and PHP versions 8.2, 8.3, and 8.4.
# And in this configuration will create following dockers (and tags):
# PHP 8.2: openemr/openemr:flex-3.22-php-8.2
# PHP 8.3: openemr/openemr:flex-3.22-php-8.3
# PHP 8.4: openemr/openemr:flex-3.22-php-8.4, openemr/openemr:flex-3.22
# (The bare openemr/openemr:flex tag is published by docker-build-323.yml, which is the
# default flex image; this 3.22 build sets is_default_flex: false in the workflow_call.)
#
# php_versions is a JSON array of PHP versions to build.
#
# The php_default will determine the default PHP version (ie. above tag without a php version).
#
# The is_default_flex environment variable is used to determine if this is the default flex image.
#
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
jobs:
build:
uses: ./.github/workflows/docker-build-flex-core.yml
with:
is_default_flex: false
alpine_version: "3.22"
php_versions: '["8.2", "8.3", "8.4"]'
php_default: "8.4"
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}