From 3780bff07d6649efb47dbcfeb1532ebc5ecc7b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 30 Mar 2025 11:33:42 +0200 Subject: [PATCH] set dockerfile even if empty string. --- .github/workflows/image_app.yml | 2 +- .github/workflows/image_base.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/image_app.yml b/.github/workflows/image_app.yml index 400b0093..1e01dc12 100644 --- a/.github/workflows/image_app.yml +++ b/.github/workflows/image_app.yml @@ -68,7 +68,7 @@ jobs: uses: docker/build-push-action@v6 with: context: apps/${{ inputs.name }} - file: apps/${{ inputs.name }}/${{ inputs.dockerfile }} + file: apps/${{ inputs.name }}/${{ inputs.dockerfile || 'Dockerfile' }} push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/image_base.yml b/.github/workflows/image_base.yml index 36c8773f..f17931f8 100644 --- a/.github/workflows/image_base.yml +++ b/.github/workflows/image_base.yml @@ -72,7 +72,7 @@ jobs: - name: Generate base Dockerfile env: - RUNTIME_DOCKERFILE: ${{ inputs.dockerfile }} + RUNTIME_DOCKERFILE: ${{ inputs.dockerfile || 'Dockerfile' }} run: go run docker/main.go -i Dockerfile.tmpl -o Dockerfile -client client/dist - name: Build and push