Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 1.36 KB

github_actions.md

File metadata and controls

12 lines (10 loc) · 1.36 KB

Back to README

GitHub Action

  1. The GitHub action configuration in /.github/workflows/main.yml uses Dockerfile to build the app, then pushes the image to the GitHub container registry (GHCR).

  2. The action is triggered whenever a commit is made to the master branch. E.g., when a pull request is merged to master.

  3. OpenShift projects can periodically pull this image from GHCR. Configure only NON-PRODUCTION MyLA projects to pull the image…

    oc tag ghcr.io/tl-its-umich-edu/my-learning-analytics:latest my-learning-analytics:latest --scheduled --reference-policy=local

    See the OpenShift documentation "Managing image streams: Configuring periodic importing of image stream tags" for details.

    reference-policy=local : If you want to instruct OpenShift Container Platform to always fetch the tagged image from the integrated registry