-
Notifications
You must be signed in to change notification settings - Fork 7
41 lines (32 loc) · 1.08 KB
/
build-and-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 }}
- name: Prepare SIPssert
uses: OpenSIPS/SIPssert/actions/Prepare_SIPssert@main
- name: Run All Tests
uses: OpenSIPS/SIPssert/actions/Run_All_Tests@main