Skip to content

Added URL copy button #45

Added URL copy button

Added URL copy button #45

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