Skip to content

Create daily Docker image on develop #617

Create daily Docker image on develop

Create daily Docker image on develop #617

Workflow file for this run

name: create daily docker image on develop
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *"
jobs:
publish-docker-develop-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: develop
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the openimis backend Docker image
run: |
LABEL=develop
docker build . --tag ghcr.io/openimis/openimis-fe:${LABEL}
docker push ghcr.io/openimis/openimis-fe:${LABEL}