fix
This commit is contained in:
parent
26bee38ca5
commit
db4d55118d
@ -2,10 +2,10 @@
|
|||||||
name: 'build docker image and push to code'
|
name: 'build docker image and push to code'
|
||||||
description: 'build docker image and push to simcu code'
|
description: 'build docker image and push to simcu code'
|
||||||
inputs:
|
inputs:
|
||||||
haveDockerfile:
|
dockerfile:
|
||||||
description: 'If a Dockerfile is already present, skip creation'
|
description: 'if set, will use this to build'
|
||||||
required: false
|
required: false
|
||||||
default: 'false'
|
default: ''
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
@ -15,7 +15,7 @@ runs:
|
|||||||
args: dotnet publish -r linux-x64 -c Release --self-contained -o dist -p:AssemblyName=App
|
args: dotnet publish -r linux-x64 -c Release --self-contained -o dist -p:AssemblyName=App
|
||||||
|
|
||||||
- name: create dockerfile
|
- name: create dockerfile
|
||||||
if: ${{ inputs.haveDockerfile }} != 'true'
|
if: ${{ inputs.default }} == ''
|
||||||
uses: docker://ubuntu:latest
|
uses: docker://ubuntu:latest
|
||||||
with:
|
with:
|
||||||
entrypoint: "/bin/bash"
|
entrypoint: "/bin/bash"
|
||||||
|
Loading…
Reference in New Issue
Block a user