Skip to content

run php as root so we can write files whatever the perms #7

run php as root so we can write files whatever the perms

run php as root so we can write files whatever the perms #7

name: Publish file-manager Image
on:
push:
branches:
- 'main'
paths:
- 'file-manager/*'
tags:
- 'file-manager-*'
jobs:
file-manager:
name: Publish file-manager Image
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- name: Publish file-manager Image
uses: openzim/docker-publish-action@v10
with:
image-name: offspot/file-manager
on-master: dev
build-args:
VERSION={tag}
tag-pattern: /^file-manager-([0-9.]+)$/
restrict-to: offspot/container-images
platforms: |
linux/amd64
linux/arm64
context: file-manager
registries: ghcr.io
credentials:
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}