mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-23 05:44:24 +01:00
Improve GitHub action (#2364)
* Add YAML linter * Drop GitHub registry login as its not required at this point * Add YAML document start marker * Fix YAMLlint issues * Fix YAMLlint issues in .github yaml files * Fix YAMLlint issue in .github/dependabot.yml * Remove .github/move.yml * Set dependabot to weekly Co-authored-by: Joakim Sørensen <hi@ludeeus.dev> * Use YAML strip option where appropriate * Fix multiline string Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
10
.github/workflows/builder.yml
vendored
10
.github/workflows/builder.yml
vendored
@@ -1,3 +1,5 @@
|
||||
---
|
||||
# yamllint disable rule:line-length rule:truthy
|
||||
name: Build add-on
|
||||
|
||||
env:
|
||||
@@ -103,14 +105,6 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
if: env.BUILD_ARGS == '--docker-hub-check'
|
||||
uses: docker/login-action@v1.14.1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.GIT_USER }}
|
||||
password: ${{ secrets.GIT_TOKEN }}
|
||||
|
||||
- name: Build ${{ matrix.addon }} add-on
|
||||
if: steps.check.outputs.build_arch == 'true'
|
||||
uses: home-assistant/builder@2022.03.1
|
||||
|
||||
Reference in New Issue
Block a user