Skip to content

Commit

Permalink
Attempt builds on arm64 workers
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Feb 13, 2024
1 parent b66ac22 commit 544ad2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ on:
jobs:
build-and-push-arch-specifics:
name: Build Rocks and Push Arch Specific Images
uses: canonical/k8s-workflows/.github/workflows/build_rocks.yaml@main
uses: canonical/k8s-workflows/.github/workflows/build_rocks.yaml@KU-158/arm-builder
with:
owner: ${{ github.repository_owner }}
trivy-image-config: "trivy.yaml"
multiarch-awareness: true
cache-action: ${{ (github.event_name == 'push') && 'save' || 'restore' }}
platform-labels: '{"amd64": ["x86"], "arm64": ["Ubuntu_ARM64_4C_16G_01"]}'
build-and-push-multiarch-manifest:
name: Combine Rocks and Push Multiarch Manifest
uses: canonical/k8s-workflows/.github/workflows/assemble_multiarch_image.yaml@main
Expand Down
3 changes: 1 addition & 2 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 544ad2f

Please sign in to comment.