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