Skip to content

Commit

Permalink
Fix releases (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosheskaz authored Apr 20, 2024
1 parent 4ac3b79 commit d7617b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
name: Perform a release

on: # yamllint disable-line rule:truthy
push:
branches: [release]
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -79,8 +77,7 @@ jobs:
- uses: mikefarah/yq@v4
- name: Update Infinitude
run: |
yq e -i '.version = "${{ needs.metadata.outputs.VERSION_SIMPLE }}"' infinitude-experimental/config.yaml
yq e -i '.image = "${{ needs.metadata.outputs.IMAGE_NAME }}:${{ needs.metadata.outputs.VERSION }}"' infinitude-experimental/config.yaml
yq e -i '.version = "${{ needs.metadata.outputs.VERSION }}"' infinitude-experimental/config.yaml
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
Expand Down
6 changes: 2 additions & 4 deletions infinitude-experimental/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
FROM docker.io/nebulous/infinitude:latest
ARG BUILD_VERSION

COPY run.sh /

ENTRYPOINT ["/run.sh"]
FROM ghcr.io/sosheskaz/infinitude-ha-addon:${BUILD_VERSION}
5 changes: 1 addition & 4 deletions infinitude-experimental/config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
---
name: "Infinitude (Experimental)"
description: Run Infinitude by nebulous as a Home Assistant Addon.
version: "2024.04.20.21"
version: "v2024.04.20.21"
slug: "infinitude-experimental"
init: true
arch:
- aarch64
- amd64
- armv7
- i386
options:
app_secret: Pogotudinal
mode: Production
Expand All @@ -28,4 +26,3 @@ ports_description:
watchdog: http://[HOST]:[PORT:3000]/api/status
panel_icon: mdi:sun-snowflake-variant
stage: experimental
image: ghcr.io/sosheskaz/infinitude-ha-addon:v2024.04.20.21

0 comments on commit d7617b4

Please sign in to comment.