Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions .github/workflows/Publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,15 @@ jobs:
- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@release/v1.13

- name: Build and push Docker image
uses: openzim/docker-publish-action@v10
with:
image-name: openzim/devdocs
tag-pattern: /^v([0-9.]+)$/
latest-on-tag: true
restrict-to: openzim/devdocs
registries: ghcr.io
credentials:
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}
repo_description: auto
repo_overview: auto
docker-publish:
name: Build and push Docker image
if: github.repository == 'openzim/devdocs'
needs: publish
uses: openzim/overview/.github/workflows/docker-publish.yaml@v1
with:
image-name: openzim/devdocs
tag-pattern: /^v([0-9.]+)$/
latest-on-tag: true
secrets:
ghcr_username: ${{ secrets.GHCR_USERNAME }}
ghcr_token: ${{ secrets.GHCR_TOKEN }}
27 changes: 9 additions & 18 deletions .github/workflows/PublishDockerDevImage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,12 @@ on:

jobs:
publish:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v6

- name: Build and push Docker image
uses: openzim/docker-publish-action@v10
with:
image-name: openzim/devdocs
manual-tag: dev
latest-on-tag: false
restrict-to: openzim/devdocs
registries: ghcr.io
credentials:
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}
repo_description: auto
repo_overview: auto
if: github.repository == 'openzim/devdocs'
uses: openzim/overview/.github/workflows/docker-publish.yaml@v1
with:
image-name: openzim/devdocs
latest-on-tag: false
manual-tag: dev
secrets:
ghcr_username: ${{ secrets.GHCR_USERNAME }}
ghcr_token: ${{ secrets.GHCR_TOKEN }}
Loading