Skip to content

OpenSIPS CLI Trigger #9

OpenSIPS CLI Trigger

OpenSIPS CLI Trigger #9

name: Push OpenSIPS CLI Images in Docker Hub
on:
push:
repository_dispatch:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: opensips/opensips-cli:latest