Merge pull request #1884 from openzim/translatewiki #233
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: Docker | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
jobs: | |
build-and-push: | |
name: Deploy Docker Image | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3.4.0 | |
- name: Build and push | |
uses: openzim/docker-publish-action@v10 | |
with: | |
image-name: openzim/mwoffliner | |
on-master: dev | |
tag-pattern: /^v([0-9.]+)$/ | |
latest-on-tag: true | |
restrict-to: openzim/mwoffliner | |
registries: ghcr.io | |
credentials: | | |
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }} | |
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }} | |
repo_description: auto | |
repo_overview: auto |