Skip to content

Craft multiarch manifests on gh push for all arches defined in rockcr… #1

Craft multiarch manifests on gh push for all arches defined in rockcr…

Craft multiarch manifests on gh push for all arches defined in rockcr… #1

Workflow file for this run

name: Push Multiarch Images
on:
pull_request:
push:
branches:
- rockcraft
jobs:
build-and-push-arch-specifics:
name: Build Rocks and Push Arch Specific Images
uses: canonical/k8s-workflows/.github/workflows/build_rocks.yaml@main
with:
owner: ${{ github.repository_owner }}
trivy-image-config: "trivy.yaml"
multiarch-awareness: true
cache-action: ${{ (github.event_name == 'push') && 'save' || 'restore' }}
build-and-push-multiarch-manifest:
name: Combine Rocks and Push Multiarch Manifest
uses: canonical/k8s-workflows/.github/workflows/assemble_multiarch_image.yaml@main
uses: ./.github/workflows/assemble_multiarch_image.yaml

Check failure on line 20 in .github/workflows/pull_request.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull_request.yaml

Invalid workflow file

You have an error in your yaml syntax on line 20
needs: [build-and-push-arch-specifics]
with:
rock-metas: ${{ needs.build-and-push-arch-specifics.outputs.rock-metas }}
dry-run: ${{ github.event_name != 'push' }}