Skip to content

Publish file-browser Image #1

Publish file-browser Image

Publish file-browser Image #1

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