Skip to content

release-images

release-images #6

name: release-images
on:
# Manual trigger
workflow_dispatch: {}
# Automatic trigger after each release
# Note: Triggers on both successes and failures (see conditional below)
workflow_run:
workflows:
- release
types:
- completed
jobs:
build_images:
name: Build Images
runs-on: ubuntu-latest
if: |
github.event.workflow_run.conclusion == 'success' ||
github.event.workflow_run.conclusion == null
steps:
- uses: actions/checkout@v2
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build kamu-web-ui image
run: |
cd images/
make kamu-web-ui
- name: Publish images
run: |
cd images
make kamu-web-ui-push