Skip to content

Commit

Permalink
chore: update and streamline insane dev environment for alpine/flex 3…
Browse files Browse the repository at this point in the history
….19 docker and php 8.3 (#7125)
  • Loading branch information
bradymiller committed Dec 27, 2023
1 parent b0b372c commit be6cbb6
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 334 deletions.
92 changes: 0 additions & 92 deletions .github/workflows/manual-build-php-fpm-dockers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,98 +8,6 @@ permissions:

jobs:

build_7_3:
# 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@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push dev-php-fpm:7.3 docker
uses: docker/build-push-action@v3
with:
context: "{{defaultContext}}:docker/library/dockers/dev-php-fpm-7-3"
tags: openemr/dev-php-fpm:7.3
platforms: linux/amd64
push: true
no-cache: true

build_7_3_redis:
# 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@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push dev-php-fpm:7.3-redis docker
uses: docker/build-push-action@v3
with:
context: "{{defaultContext}}:docker/library/dockers/dev-php-fpm-7-3-redis"
tags: openemr/dev-php-fpm:7.3-redis
platforms: linux/amd64
push: true
no-cache: true

build_7_4:
# 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@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push dev-php-fpm:7.4 docker
uses: docker/build-push-action@v3
with:
context: "{{defaultContext}}:docker/library/dockers/dev-php-fpm-7-4"
tags: openemr/dev-php-fpm:7.4
platforms: linux/amd64
push: true
no-cache: true

build_7_4_redis:
# 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@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push dev-php-fpm:7.4-redis docker
uses: docker/build-push-action@v3
with:
context: "{{defaultContext}}:docker/library/dockers/dev-php-fpm-7-4-redis"
tags: openemr/dev-php-fpm:7.4-redis
platforms: linux/amd64
push: true
no-cache: true

build_8_0:
# Only run from master branch on the main repository
if: github.repository_owner == 'openemr' && github.repository == 'openemr/openemr' && github.ref == 'refs/heads/master'
Expand Down
Loading

0 comments on commit be6cbb6

Please sign in to comment.