only arm build on master
This commit is contained in:
parent
c7d24cde72
commit
34571d6fd2
1 changed files with 4 additions and 2 deletions
6
.github/workflows/package.yaml
vendored
6
.github/workflows/package.yaml
vendored
|
|
@ -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: [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue