Issue #36: running django code as www-data user #5
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: Publish edupi Image | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'edupi/*' | |
tags: | |
- 'edupi-*' | |
jobs: | |
edupi: | |
name: Publish edupi Image | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: Publish edupi Image | |
uses: openzim/docker-publish-action@v10 | |
with: | |
image-name: offspot/edupi | |
on-master: dev | |
build-args: | |
VERSION={tag} | |
tag-pattern: /^edupi-([0-9.]+)$/ | |
restrict-to: offspot/container-images | |
platforms: | | |
linux/amd64 | |
linux/arm64 | |
context: edupi | |
registries: ghcr.io | |
credentials: | |
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }} | |
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }} |