diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index de9aed7..de8a081 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,3 +1,4 @@ +--- name: Docker # This workflow uses actions that are not certified by GitHub. @@ -7,11 +8,11 @@ name: Docker on: push: - branches: [ "main" ] + branches: ["main"] # Publish semver tags as releases. - tags: [ 'v*.*.*' ] + tags: ['v*.*.*'] pull_request: - branches: [ "main" ] + branches: ["main"] env: # Use docker.io for Docker Hub if empty @@ -55,13 +56,13 @@ jobs: # multi-platform images and export cache # https://github.com/docker/setup-buildx-action - name: Set up Docker Buildx - uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0 + uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0 # Login against a Docker registry except on PR # https://github.com/docker/login-action - name: Log into registry ${{ env.REGISTRY }} if: github.event_name != 'pull_request' - uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 + uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -71,7 +72,7 @@ jobs: # https://github.com/docker/metadata-action - name: Extract Docker metadata id: meta - uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0 + uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} @@ -79,7 +80,7 @@ jobs: # https://github.com/docker/build-push-action - name: Build and push Docker image id: build-and-push - uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 + uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 with: context: . push: ${{ github.event_name != 'pull_request' }} diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..0c01e2b --- /dev/null +++ b/.yamllint @@ -0,0 +1,3 @@ +--- +rules: + line-length: disable diff --git a/home-assistant-addon/config.yaml b/home-assistant-addon/config.yaml index 46a618d..8825d9b 100644 --- a/home-assistant-addon/config.yaml +++ b/home-assistant-addon/config.yaml @@ -1,3 +1,4 @@ +--- name: "HCPY" description: "Run HCPY as addon" version: "v1.0.5" diff --git a/repository.yaml b/repository.yaml index 3a1a4c0..9dc7f0b 100644 --- a/repository.yaml +++ b/repository.yaml @@ -1,3 +1,4 @@ +--- name: HCPY url: https://github.com/hcpy2-0/hcpy maintainer: pmagyar, Meatballs1