Skip to content

Publish dashboard Image #3

Publish dashboard Image

Publish dashboard Image #3

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