-
-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (39 loc) · 1.08 KB
/
kiwix-tools-nightly_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: kiwix-tools nightly
on:
push:
branches:
- 'main'
paths:
- 'kiwix-tools-nightly/**'
workflow_dispatch:
schedule:
- cron: '0 8 * * *'
jobs:
kiwix-tools-nightly:
name: Deploy kiwix-tools nightly Image
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Publish Docker Image
uses: openzim/docker-publish-action@v10
with:
image-name: kiwix/kiwix-tools-nightly
on-master: latest
restrict-to: kiwix/container-images
context: kiwix-tools-nightly
registries: ghcr.io
credentials:
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}
platforms: |
linux/amd64
linux/arm64
linux/arm/v7
linux/arm/v6
linux/386
- name: Restart dev-library
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: rollout restart deployments dev-library-deployment -n zim