Skip to content

Commit

Permalink
github/workflows: add support for building sipssert image
Browse files Browse the repository at this point in the history
(cherry picked from commit 0959393)
  • Loading branch information
razvancrainea committed Oct 20, 2023
1 parent ec79246 commit 835075a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Publish SIPSsert Image

on:
workflow_dispatch:
inputs:
version:
description: OpenSIPS Version to publish
required: true
tag:
description: OpenSIPS SIPssert Tag to use
required: true

jobs:

publish:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Get the required OpenSIPS Modules
id: fetch_modules
run: echo "MODULES=$(cat .opensips.modules | tr '\n' ' ')" > $GITHUB_OUTPUT

- name: Publish OpenSIPS SIPssert Docker image
uses: OpenSIPS/docker-opensips/.github/actions/docker-opensips-publish@main
with:
version: ${{ github.event.inputs.version }}
tag: ${{ github.event.inputs.tag }}
cli: false
build: nightly
modules: ${{ steps.fetch_modules.outputs.MODULES }}
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-token: ${{ secrets.DOCKER_TOKEN }}
6 changes: 6 additions & 0 deletions .opensips.modules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
opensips-json-module
opensips-mysql-module
opensips-http-modules
opensips-auth-modules
opensips-presence-modules
opensips-stir-shaken-module

0 comments on commit 835075a

Please sign in to comment.