Skip to content

Commit 0d416fe

Browse files
Merge branch 'feature/hass_addon_update' of https://github.com/openbase/bco into feature/hass_addon_update
2 parents 1bd4b84 + cd53f06 commit 0d416fe

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/deploy-docker.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
docker:
19-
if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'preview') }}
19+
# if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'preview') }}
2020
runs-on: ubuntu-latest
2121
outputs:
2222
bco-tags: ${{ steps.bco-meta.outputs.tags }}
@@ -37,7 +37,7 @@ jobs:
3737
tags: |
3838
type=schedule
3939
type=raw,value=preview+{{commit_date 'YYYYMMDD-HHmmss' tz='UTC'}},enable=${{ contains(github.event.pull_request.labels.*.name, 'preview') }}
40-
type=raw,value={{branch}}+{{commit_date 'YYYYMMDD-HHmmss' tz='UTC'}},enable=startsWith(github.ref, 'refs/heads/')
40+
type=raw,value={{branch}}+{{commit_date 'YYYYMMDD-HHmmss' tz='UTC'}},enable=${{ startsWith(github.ref, 'refs/heads/') }}
4141
type=ref,event=branch
4242
type=ref,event=pr
4343
type=semver,pattern={{version}}
@@ -148,7 +148,7 @@ jobs:
148148
uses: ./.github/workflows/update-addon-version.yaml
149149
with:
150150
version: ${{ github.ref_name }}
151-
addons: "bco-core"
151+
addon: "bco-core"
152152
secrets:
153153
CI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
154154

@@ -158,19 +158,19 @@ jobs:
158158
if: startsWith(github.ref, 'refs/heads/dev')
159159
uses: ./.github/workflows/update-addon-version.yaml
160160
with:
161-
addons: "bco-core"
161+
addon: "bco-core"
162162
tags: ${{ needs.docker.outputs.bco-tags }}
163163
track: dev
164164
secrets:
165165
CI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
166166

167-
update-addon-version-preview:
167+
update-addon-version-preview:
168168
name: Update Home Assistant Add-on Version
169169
needs: docker
170170
if: contains(github.event.pull_request.labels.*.name, 'preview')
171171
uses: ./.github/workflows/update-addon-version.yaml
172172
with:
173-
addons: "bco-core"
173+
addon: "bco-core"
174174
tags: ${{ needs.docker.outputs.bco-tags }}
175175
track: preview
176176
secrets:

‎.github/workflows/update-addon-version.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout addon repository
35-
uses: actions/checkout@v5
35+
uses: actions/checkout@v6
3636
with:
3737
token: ${{ secrets.CI_GITHUB_TOKEN }}
3838
repository: openbase/homeassistant.addons.bco

0 commit comments

Comments
 (0)