Skip to content

Update docker-image.yml #512

Update docker-image.yml

Update docker-image.yml #512

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [master]
jobs:
build:
if: github.repository == 'buschlab/fhirspark'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ghcr.io/buschlab/fhirspark:latest --label maintainer="Niklas Reimer <${{ secrets.EMAIL }}>"
- name: Login to Docker registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Docker image
run: docker push ghcr.io/buschlab/fhirspark:latest