Skip to content

Commit

Permalink
github actions - run latest container build if PR is merged
Browse files Browse the repository at this point in the history
  • Loading branch information
csautter committed Feb 12, 2024
1 parent ffb7632 commit 4c38f4c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ name: docker-build

on:
pull_request:
push:
branches:
- master
types:
- opened
- synchronize
- reopened
- closed

jobs:
docker:
Expand All @@ -27,6 +29,8 @@ jobs:
uses: docker/build-push-action@v5
if: github.ref == 'refs/heads/master'
with:
file: ./component/vzlogger/Dockerfile
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7
push: true
tags: ccs1/volkszahler-fritzapi:latest
-
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# Volkszähler FritzBox API
This composition of vzlogger and fritzapi helps you to push energy and power measures from Fritz DECT devices to the Volkszähler middleware. Supported devices are **Fritz!DECT 200 and 210**.

## Status
### Main
[![docker-build](https://github.com/csautter/volkszahler-fritzapi/actions/workflows/docker-build.yml/badge.svg?branch=main)](https://github.com/csautter/volkszahler-fritzapi/actions/workflows/docker-build.yml)
### Dev
[![docker-build](https://github.com/csautter/volkszahler-fritzapi/actions/workflows/docker-build.yml/badge.svg?branch=dev)](https://github.com/csautter/volkszahler-fritzapi/actions/workflows/docker-build.yml)
## fritzapi
fritzapi is used as connector to your Fritz Box.
The fritzapi component ist located under /api.

**Source:** https://github.com/andig/fritzapi

### Install
Run ``npm install`` in /api folder.
As alternative, you can use the npm docker container.
Expand Down

0 comments on commit 4c38f4c

Please sign in to comment.