Skip to content

Commit cf44dfe

Browse files
committed
2 parents 3123912 + a610d32 commit cf44dfe

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/dockerimage.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v1
18+
with:
19+
fetch-depth: 1
20+
- name: Docker Build & Push to Docker Hub
21+
uses: opspresso/action-docker@master
22+
with:
23+
args: --docker
24+
env:
25+
USERNAME: ${{ secrets.DOCKER_USERNAME }}
26+
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
27+
DOCKERFILE: "Dockerfile"
28+
IMAGE_NAME: "techpreacher/iothubsync.service"
29+
LATEST: "true"

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![Docker Image CI](https://github.com/TechPreacher/IotHubSynchronizer/workflows/Docker%20Image%20CI/badge.svg?branch=master)
2+
13
# Azure IoT Hub Synchronizer
24

35
The goal of the IoT Hub Syncronizer is to mirror IoT device configurations and IoT Edge device configurations from a master Azure IoT Hub to a slave. It can be run as an Azure function or a WebAPI app. It is triggered either via a timer or via EventGrid events for Azure IoT Hub device creation or deletion.

0 commit comments

Comments
 (0)