mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
set dockerfile even if empty string.
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user