Skip to content

Commit

Permalink
Add docker image wokflow
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Mar 14, 2023
1 parent 232d474 commit 9f3d06f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/docker-push-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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/[email protected]
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

0 comments on commit 9f3d06f

Please sign in to comment.