Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/docker-ci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-07-30 10:52:39 +0300
committerGitHub <noreply@github.com>2021-07-30 10:52:39 +0300
commitce0899b758a800468e87a348d92e49aff4e38672 (patch)
tree66017799cb03ce7c163951d02652b4afaa519a86 /.github
parent2fd80bf709ebcb7e505fe13db6f2089bc8c282b1 (diff)
parente4c2e210ba80c6fe8fc8eb1ca388a69bd894ba43 (diff)
Merge pull request #306 from nextcloud/dockerfile
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 468a9d4..68fac12 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -7,6 +7,13 @@ on:
description: "Path to the folder"
required: true
default: 'webdav-apache-php7.3'
+ dockerFile:
+ description: "Optional relative (from folder) path to Dockerfile. Default is $folder/Dockerfile"
+ required: false
+ default: 'Dockerfile'
+ suffix:
+ description: "Option suffix to image name (e.g. `-documentation`)"
+ required: false
tagName:
description: "Tag name"
required: true
@@ -39,6 +46,7 @@ jobs:
with:
push: true
context: ${{ github.event.inputs.folderPath }}
+ file: '${{ github.event.inputs.folderPath }}/${{ github.event.inputs.dockerFile }}'
tags: |
- ghcr.io/nextcloud/continuous-integration-${{ github.event.inputs.folderPath }}:${{ github.event.inputs.tagName }}
+ ghcr.io/nextcloud/continuous-integration-${{ github.event.inputs.folderPath }}${{ github.event.inputs.suffix }}:${{ github.event.inputs.tagName }}