set dockerfile even if empty string.

This commit is contained in:
Miroslav Šedivý
2025-03-30 11:33:42 +02:00
parent f396cea0a2
commit 3780bff07d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: apps/${{ inputs.name }} context: apps/${{ inputs.name }}
file: apps/${{ inputs.name }}/${{ inputs.dockerfile }} file: apps/${{ inputs.name }}/${{ inputs.dockerfile || 'Dockerfile' }}
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
+1 -1
View File
@@ -72,7 +72,7 @@ jobs:
- name: Generate base Dockerfile - name: Generate base Dockerfile
env: env:
RUNTIME_DOCKERFILE: ${{ inputs.dockerfile }} RUNTIME_DOCKERFILE: ${{ inputs.dockerfile || 'Dockerfile' }}
run: go run docker/main.go -i Dockerfile.tmpl -o Dockerfile -client client/dist run: go run docker/main.go -i Dockerfile.tmpl -o Dockerfile -client client/dist
- name: Build and push - name: Build and push