Skip to content

Commit

Permalink
Àctions and version
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderdw committed Apr 17, 2024
1 parent b8e703e commit 1798ab3
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 11 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/dsmr-reader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:
branches:
- 'master'
- 'reader-1.11.0'
- 'reader-1.11.2'
tags:
- '*.*.*'
paths:
Expand Down Expand Up @@ -51,30 +51,32 @@ jobs:
steps:
# Get the repository's code
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
# https://github.com/docker/setup-qemu-action
- name: Get the version from config.json
id: data
run: |
version=$(jq --raw-output '.version' ./dsmr_reader/config.json)
echo "::set-output name=HA_RELEASE::$version"
echo "HA_RELEASE=$version" >> "$GITHUB_OUTPUT"
- name: DSMR addon release
run: echo ${{ steps.data.outputs.HA_RELEASE }}
env:
HA_RELEASE: ${{ steps.data.outputs.HA_RELEASE }}
run: echo "$HA_RELEASE"
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta # you'll use this in the next step
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
Expand All @@ -89,7 +91,7 @@ jobs:
type=semver,pattern={{major}}
type=raw,value=${{ steps.data.outputs.HA_RELEASE }}
- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: ./dsmr_reader
platforms: ${{ matrix.PLATFORMS }}
Expand Down
11 changes: 11 additions & 0 deletions dsmr_reader/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 1.11.2

- Revert until https://github.com/sanderdw/hassio-addons/issues/86 is resolved

## 1.11.1

- Support for PostgreSQL 16.2
- Technical: Bashio update to v0.16.2
- Technical: Github Action workflow updated
- Technical: S6 Overlay v3

## 1.11.0

- Update to DSMR-reader v5.11
Expand Down
2 changes: 1 addition & 1 deletion dsmr_reader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Credits to Dennis Siemensma for creating the DSMR Reader software (https://dsmr-
![DSMR Reader](https://github.com/sanderdw/hassio-addons/raw/master/images/dsmr_reader.png)

[dsmr-shield]: https://img.shields.io/badge/DSMR%20Reader%20Version-%205.11-purple.svg?style=flat-square
[addon-shield]: https://img.shields.io/badge/Addon%20Version-%201.11.0-purple.svg?style=flat-square
[addon-shield]: https://img.shields.io/badge/Addon%20Version-%201.11.2-purple.svg?style=flat-square

[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg?style=flat-square
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg?style=flat-square
Expand Down
2 changes: 1 addition & 1 deletion dsmr_reader/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "DSMR Reader",
"version": "1.11.0",
"version": "1.11.2",
"slug": "dsmr_reader",
"description": "Used for reading the smart meter DSMR P1 port (https://dsmr-reader.readthedocs.io)",
"arch": ["armhf", "armv7", "aarch64", "amd64"],
Expand Down

0 comments on commit 1798ab3

Please sign in to comment.