Skip to content

Publish OpenSIPS Image in Docker Hub #30

Publish OpenSIPS Image in Docker Hub

Publish OpenSIPS Image in Docker Hub #30

name: Publish OpenSIPS Image in Docker Hub
on:
workflow_dispatch:
inputs:
version:
description: Version
required: false
tag:
description: Tag
required: false
cli:
description: Install CLI
required: false
type: boolean
default: true
modules:
description: Extra Modules
required: false
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Publish OpenSIPS Docker image
uses: OpenSIPS/docker-opensips/.github/actions/docker-opensips-publish@main
with:
version: ${{ github.event.inputs.version }}
tag: ${{ github.event.inputs.tag }}
cli: ${{ github.event.inputs.cli }}
modules: ${{ github.event.inputs.modules }}
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-token: ${{ secrets.DOCKER_TOKEN }}