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