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