mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 09:12:58 +01:00
Add missing image propertie
This commit is contained in:
parent
3469908fc7
commit
cd4032cd6f
13
.github/workflows/build_addon.yml
vendored
13
.github/workflows/build_addon.yml
vendored
@ -120,6 +120,7 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
${{env.REPOSITORY}}/${{env.IMAGE}}/${{matrix.arch}}
|
${{env.REPOSITORY}}/${{env.IMAGE}}/${{matrix.arch}}
|
||||||
tags: |
|
tags: |
|
||||||
|
type=ref,event=branch
|
||||||
type=ref,event=branch,suffix=.${{ github.run_number }}
|
type=ref,event=branch,suffix=.${{ github.run_number }}
|
||||||
type=ref,event=pr
|
type=ref,event=pr
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
@ -159,8 +160,8 @@ jobs:
|
|||||||
context: ./${{env.TARGET}}/
|
context: ./${{env.TARGET}}/
|
||||||
platforms: ${{ matrix.arch_value }}
|
platforms: ${{ matrix.arch_value }}
|
||||||
|
|
||||||
publish-main:
|
update_ha_repository:
|
||||||
name: Publish main
|
name: Update HA addon repository
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- build-dockers
|
- build-dockers
|
||||||
@ -202,6 +203,14 @@ jobs:
|
|||||||
value: ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number}}
|
value: ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number}}
|
||||||
commitChange: false
|
commitChange: false
|
||||||
|
|
||||||
|
- name: Add image propertie
|
||||||
|
uses: fjogeleit/yaml-update-action@main
|
||||||
|
with:
|
||||||
|
valueFile: 'repository/nextcloud_backup/config.yml'
|
||||||
|
propertyPath: 'image'
|
||||||
|
value: "ghcr.io/sebclem/hassio-nextcloud-backup/{arch}"
|
||||||
|
commitChange: false
|
||||||
|
|
||||||
- name: Create pull request
|
- name: Create pull request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user