kopia lustrzana https://github.com/kartoza/docker-postgis
test: add option to disable cache in github action
rodzic
868e195dfa
commit
7caa022f41
|
@ -15,6 +15,11 @@ on:
|
||||||
# required: true
|
# required: true
|
||||||
# default: slim
|
# default: slim
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
no-cache:
|
||||||
|
description: Do not use cache when building the image
|
||||||
|
required: true
|
||||||
|
default: false
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
|
@ -54,6 +59,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: Dockerfile
|
file: Dockerfile
|
||||||
|
no-cache: ${{ github.event.inputs }}
|
||||||
push: false
|
push: false
|
||||||
load: true
|
load: true
|
||||||
tags: kartoza/postgis:manual-build
|
tags: kartoza/postgis:manual-build
|
||||||
|
@ -124,6 +130,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: Dockerfile
|
file: Dockerfile
|
||||||
|
no-cache: ${{ github.event.inputs }}
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ steps.docker_meta.outputs.tags }}-${{ matrix.postgresMajorVersion }}-${{ matrix.postgisMajorVersion }}.${{ matrix.postgisMinorRelease }}
|
${{ steps.docker_meta.outputs.tags }}-${{ matrix.postgresMajorVersion }}-${{ matrix.postgisMajorVersion }}.${{ matrix.postgisMinorRelease }}
|
||||||
|
|
Ładowanie…
Reference in New Issue