diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 6271fdb..4fd8ea6 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -14,6 +14,15 @@ jobs: trivy-image-config: "trivy.yaml" multiarch-awareness: true cache-action: ${{ (github.event_name == 'push') && 'save' || 'restore' }} + platform-labels: '{"arm64": ["Ubuntu_ARM64_4C_16G_01"]}' + scan-images: + uses: canonical/k8s-workflows/.github/workflows/scan_images.yaml@main + needs: [build-and-push-arch-specifics] + secrets: inherit + with: + upload-result: ${{ github.event_name == 'push' }} + images: ${{ needs.build-and-push-arch-specifics.outputs.images }} + trivy-image-config: ./trivy.yaml build-and-push-multiarch-manifest: name: Combine Rocks and Push Multiarch Manifest uses: canonical/k8s-workflows/.github/workflows/assemble_multiarch_image.yaml@main diff --git a/rockcraft.yaml b/rockcraft.yaml index 1168fb4..afefcad 100644 --- a/rockcraft.yaml +++ b/rockcraft.yaml @@ -8,8 +8,7 @@ base: bare build-base: ubuntu@22.04 platforms: amd64: - # TODO: Add after workflows support bulding arm64 ROCKs - # arm64: + arm64: services: coredns: