Skip to content

Commit

Permalink
Merge pull request #8 from WSE-research/service-registration
Browse files Browse the repository at this point in the history
Add service registration
  • Loading branch information
Perevalov authored Mar 28, 2024
2 parents 3dffafb + 0965bfe commit 1a3d678
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Docker Image CI

on: push
on:
push:
branches: [ main ]

jobs:
build:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/register_service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Register Docker Image

on:
push:
branches: [ service-registration ]

jobs:
build:
runs-on: ubuntu-latest

steps:
# required to access configuration
- uses: actions/checkout@v3

# init registration
- name: Init Registration
uses: MindMaster98/[email protected]
with:
mode: register
updater_host: ${{ secrets.UPDATER_HOST }}
api_key: ${{ secrets.API_KEY }}
config_file: "service_config/service_config.json"
setup_path: "service_config"
1 change: 1 addition & 0 deletions service_config/env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# empty

0 comments on commit 1a3d678

Please sign in to comment.