1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-04-02 00:07:16 +01:00

Publish multi-arch manifest after finished build (#6683)

Publish multi-arch manifest (`hassio-supervisor` image) after the build
finishes. The step's `needs` are intentionally not matching `version`
step, as the build itself publishes the arch-prefixed image already, so
only build is needed for the manifest to be published as well.

Closes #6646
This commit is contained in:
Jan Čermák
2026-03-31 13:52:23 +02:00
committed by GitHub
parent ba9080dfdd
commit b1ea4ce52f

View File

@@ -201,6 +201,25 @@ jobs:
push: ${{ needs.init.outputs.publish == 'true' }} push: ${{ needs.init.outputs.publish == 'true' }}
version: ${{ needs.init.outputs.version }} version: ${{ needs.init.outputs.version }}
manifest:
name: Publish multi-arch manifest
needs: ["init", "build"]
if: needs.init.outputs.publish == 'true'
runs-on: ubuntu-latest
permissions:
id-token: write
packages: write
steps:
- name: Publish multi-arch manifest
uses: home-assistant/builder/actions/publish-multi-arch-manifest@62a1597b84b3461abad9816d9cd92862a2b542c3 # 2026.03.2
with:
architectures: ${{ env.ARCHITECTURES }}
container-registry-password: ${{ secrets.GITHUB_TOKEN }}
image-name: ${{ env.IMAGE_NAME }}
image-tags: |
${{ needs.init.outputs.version }}
latest
version: version:
name: Update version name: Update version
if: github.repository_owner == 'home-assistant' if: github.repository_owner == 'home-assistant'