Build on push, not PR
This commit is contained in:
parent
4a94fa90a3
commit
7e78ca7f61
|
@ -1,7 +1,7 @@
|
||||||
name: push
|
name: push
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
push:
|
||||||
branches-ignore:
|
branches-ignore:
|
||||||
- release
|
- release
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
.buildx-cache
|
.buildx-cache
|
||||||
key: ${{ steps.get-version.outputs.version }}-push-${{ matrix.platform }}-${{ hashFiles('Dockerfile','requirements-container.txt','.netbox/requirements.txt') }}
|
key: ${{ steps.get-version.outputs.version }}-push-${{ matrix.platform }}-${{ hashFiles('Dockerfile','requirements-container.txt') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ steps.get-version.outputs.version }}-push-
|
${{ steps.get-version.outputs.version }}-push-
|
||||||
${{ steps.get-version.outputs.version }}-
|
${{ steps.get-version.outputs.version }}-
|
||||||
|
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
.buildx-cache
|
.buildx-cache
|
||||||
key: ${{ steps.get-version.outputs.version }}-release-${{ matrix.platform }}-${{ hashFiles('Dockerfile','requirements-container.txt','.netbox/requirements.txt') }}
|
key: ${{ steps.get-version.outputs.version }}-release-${{ matrix.platform }}-${{ hashFiles('Dockerfile','requirements-container.txt') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ steps.get-version.outputs.version }}-release-
|
${{ steps.get-version.outputs.version }}-release-
|
||||||
${{ steps.get-version.outputs.version }}-
|
${{ steps.get-version.outputs.version }}-
|
||||||
|
|
Loading…
Reference in New Issue