Skip to content

Fixed #416: requesting YAML from manager on Scheduler Auto-image recr… #13

Fixed #416: requesting YAML from manager on Scheduler Auto-image recr…

Fixed #416: requesting YAML from manager on Scheduler Auto-image recr… #13

Workflow file for this run

name: Docker API
on:
push:
branches:
- 'main'
paths:
- 'scheduler/**'
tags:
- 'scheduler-**'
jobs:
manager:
name: Deploy API Image (scheduler)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.4.0
- name: Publish Docker Image
uses: openzim/docker-publish-action@v10
with:
image-name: offspot/cardshop-scheduler
on-master: latest
restrict-to: offspot/imager-service
context: scheduler
registries: ghcr.io
credentials:
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}
- name: Deploy API changes on k8s
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.CARDSHOP_KUBE_CONFIG }}
with:
args: rollout restart deployments api-deployment -n cardshop