1616
1717jobs :
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 }}
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 :
0 commit comments