trigger save on enter #49
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: Publish Docker images | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
api: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and push Docker image | |
uses: openzim/docker-publish-action@v10 | |
with: | |
context: backend | |
image-name: openzim/nautilus-webui-api | |
manual-tag: dev | |
# SaaS service is not released | |
latest-on-tag: true | |
restrict-to: openzim/nautilus-webui | |
registries: ghcr.io | |
credentials: | |
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }} | |
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }} | |
repo_description: auto | |
repo_overview: auto | |
frontend: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and push Docker image | |
uses: openzim/docker-publish-action@v10 | |
with: | |
context: frontend | |
image-name: openzim/nautilus-webui-frontend | |
manual-tag: dev | |
# SaaS service is not released | |
latest-on-tag: true | |
restrict-to: openzim/nautilus-webui | |
registries: ghcr.io | |
credentials: | |
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }} | |
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }} | |
repo_description: auto | |
repo_overview: auto | |
deploy: | |
needs: [api,frontend] | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Restart live webapp | |
uses: actions-hub/kubectl@master | |
env: | |
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} | |
with: | |
args: rollout restart deployments api-deployment frontend-deployment -n nautilus |