Update docker/build/action.yaml
This commit is contained in:
		@@ -20,4 +20,5 @@ runs:
 | 
			
		||||
    - name: Build image
 | 
			
		||||
      run: |
 | 
			
		||||
        TAG=$([ -n "${{inputs.tag}}" ] && echo "${{inputs.tag}}" || [ "$GITHUB_REF" == "refs/heads/develop" ] && echo "latest" || echo "$GITHUB_REF_NAME" | sed -E "s/[_/]/-/g")
 | 
			
		||||
        docker build --no-cache -t "${{inputs.registry}}/${{inputs.image}}:$TAG" .
 | 
			
		||||
        REG=$("${{inputs.registry}}" | sed -E "s%https?://%%gi"))
 | 
			
		||||
        docker build --no-cache -t "$REG/${{inputs.image}}:$TAG" .
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user