aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-08-17 15:03:11 +0100
committerGravatar Joe Banks <[email protected]>2024-08-17 15:03:11 +0100
commit8099e538ae43dc9b2e31c140cfc54f6fbfe79921 (patch)
treed26d9137c5525b191e0816fcc0d5cf2a6b4f5d7e /.github
parentGeneralise location of Dockerfile paths (diff)
Set default Dockerfile on input instead of expression
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-deploy.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml
index 0eb1a4e..7a845f1 100644
--- a/.github/workflows/build-deploy.yaml
+++ b/.github/workflows/build-deploy.yaml
@@ -13,6 +13,7 @@ on:
description: "The Dockerfile to use for the build"
required: false
type: string
+ default: "Dockerfile"
jobs:
build:
@@ -40,7 +41,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: thallium-${{ inputs.project }}
- file: thallium-${{ inputs.project }}/${{ inputs.dockerfile || 'Dockerfile' }}
+ file: thallium-${{ inputs.project }}/${{ inputs.dockerfile }}
push: ${{ github.ref == 'refs/heads/main' }}
cache-from: type=registry,ref=ghcr.io/owl-corp/thallium-${{ inputs.project }}:latest
cache-to: type=inline