Merge pull request #158 from openzim/fix_various #120
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: | |
- uses: actions/[email protected] | |
- name: Build and push | |
uses: openzim/docker-publish-action@v10 | |
with: | |
image-name: openzim/wikihow | |
on-master: dev | |
tag-pattern: /^v([0-9.]+)$/ | |
latest-on-tag: true | |
restrict-to: openzim/wikihow | |
registries: ghcr.io | |
credentials: | |
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }} | |
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }} | |
repo_description: auto | |
repo_overview: auto |