Publish OpenSIPS Image in Docker Hub #230
This file contains hidden or 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 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 | |
| build: | |
| description: Apt package build | |
| required: false | |
| default: releases | |
| component: | |
| description: Apt deb component | |
| required: false | |
| 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 }} | |
| build: ${{ github.event.inputs.build }} | |
| component: ${{ github.event.inputs.component }} | |
| docker-username: ${{ secrets.DOCKER_USERNAME }} | |
| docker-token: ${{ secrets.DOCKER_TOKEN }} |