From 34571d6fd227a1df67a256bc25217527b08164d7 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Tue, 27 Sep 2022 08:23:35 -0700 Subject: [PATCH] only arm build on master --- .github/workflows/package.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index e62118ab..f514690c 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -49,7 +49,7 @@ jobs: key: ${{github.sha}} - # Build ARM64 container + # Build ARM64 container, only on master branch to save time testing package-arm64: runs-on: ubuntu-latest needs: [ @@ -59,6 +59,7 @@ jobs: permissions: contents: read + if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }} steps: - uses: actions/checkout@v3 @@ -135,7 +136,8 @@ jobs: key: ${{github.sha}} - # On master branch, build the docker manifest file from the cached docker builds and push to the registry + # On master branch, build the docker manifest file from the cached + # docker builds and push to the registry deploy: runs-on: ubuntu-latest needs: [