Fixed Order new if config contains obsolete ZIM #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker UI | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'manager/**' | |
tags: | |
- 'manager-**' | |
workflow_dispatch: | |
jobs: | |
manager: | |
name: Deploy UI Image (manager) | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: Publish Docker Image | |
uses: openzim/docker-publish-action@v10 | |
with: | |
image-name: offspot/cardshop-manager | |
on-master: latest | |
restrict-to: offspot/imager-service | |
context: manager | |
registries: ghcr.io | |
credentials: | |
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }} | |
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }} | |
- name: Deploy Manager changes on k8s | |
uses: actions-hub/kubectl@master | |
env: | |
KUBE_CONFIG: ${{ secrets.CARDSHOP_KUBE_CONFIG }} | |
with: | |
args: rollout restart deployments ui-deployment -n cardshop |