only arm build on master

This commit is contained in:
Jesse Bannon 2022-09-27 08:23:35 -07:00
parent c7d24cde72
commit 34571d6fd2

View file

@ -49,7 +49,7 @@ jobs:
key: ${{github.sha}} key: ${{github.sha}}
# Build ARM64 container # Build ARM64 container, only on master branch to save time testing
package-arm64: package-arm64:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [ needs: [
@ -59,6 +59,7 @@ jobs:
permissions: permissions:
contents: read contents: read
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -135,7 +136,8 @@ jobs:
key: ${{github.sha}} 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: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [ needs: [