Build on push, not PR
This commit is contained in:
parent
4a94fa90a3
commit
7e78ca7f61
2 changed files with 3 additions and 3 deletions
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
|
@ -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 }}-
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue