diff options
author | 2024-08-17 14:52:53 +0100 | |
---|---|---|
committer | 2024-08-17 14:52:53 +0100 | |
commit | 85808f13f0f3ab518a2be255e6c0cc987f099f24 (patch) | |
tree | 57c5675992e7af436b5b5fc979e8855b07070892 /.github | |
parent | Consume errors generated by execSync in Vite config (diff) |
Allow specifying Dockerfile name to build-deploy
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-deploy.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml index 32a0236..177e82b 100644 --- a/.github/workflows/build-deploy.yaml +++ b/.github/workflows/build-deploy.yaml @@ -9,6 +9,10 @@ on: description: "The project to build and push" required: true type: string + dockerfile: + description: "The Dockerfile to use for the build" + required: false + type: string jobs: build: @@ -36,6 +40,7 @@ jobs: uses: docker/build-push-action@v6 with: context: thallium-${{ inputs.project }} + file: ${{ inputs.dockerfile || 'Dockerfile' }} push: ${{ github.ref == 'refs/heads/main' }} cache-from: type=registry,ref=ghcr.io/owl-corp/thallium-${{ inputs.project }}:latest cache-to: type=inline |