forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 13
33 lines (30 loc) · 1.04 KB
/
build-dev-php-fpm-docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Nightly Build development 8.5 php-fpm Docker
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *' # (daily) run at 2 AM UTC
permissions:
contents: read
jobs:
build:
# Only run from master branch on the main repository
if: github.repository_owner == 'openemr' && github.repository == 'openemr/openemr' && github.ref == 'refs/heads/master'
runs-on: ubuntu-22.04
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push dev-php-fpm:pre-build-dev-85 docker
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:docker/library/dockers/dev-php-fpm"
tags: openemr/dev-php-fpm:pre-build-dev-85
platforms: linux/amd64
push: true
no-cache: true