Skip to content

Build OpenEMR Docker Image #2

Build OpenEMR Docker Image

Build OpenEMR Docker Image #2

Workflow file for this run

name: Build OpenEMR Docker Image
on:
workflow_dispatch:
permissions:
contents: read
packages: write
actions: write
jobs:
build-and-push:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ./docker
file: ./docker/Dockerfile
platforms: linux/amd64
push: true
tags: ghcr.io/iupui-soic/seiri22:latest
cache-from: type=gha
cache-to: type=gha,mode=max