Merge pull request #266 from kiwix/install_from_branch #6
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: Maintenance | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'maintenance/**' | |
workflow_dispatch: | |
jobs: | |
maintenance: | |
name: Deploy Maintenance 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/maintenance | |
on-master: latest | |
restrict-to: kiwix/container-images | |
context: maintenance | |
registries: ghcr.io | |
credentials: | |
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }} | |
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }} |