Initial commit
This commit is contained in:
Коммит
186e4d6df0
|
@ -0,0 +1,3 @@
|
|||
|
||||
out/
|
||||
reports/
|
|
@ -0,0 +1,15 @@
|
|||
# FROM alpine:3.10
|
||||
|
||||
# FROM mcr.microsoft.com/powershell:ubuntu-16.04
|
||||
FROM mcr.microsoft.com/powershell:6.2.2-alpine-3.8
|
||||
SHELL ["pwsh", "-command"]
|
||||
RUN Install-Module -Name PSRule -AllowPrerelease -Force;
|
||||
RUN Import-Module -Name PSRule;
|
||||
|
||||
COPY LICENSE README.md /
|
||||
|
||||
COPY entrypoint.ps1 /entrypoint.ps1
|
||||
ENTRYPOINT ["/entrypoint.ps1"]
|
||||
|
||||
# COPY entrypoint.sh /entrypoint.sh
|
||||
# ENTRYPOINT ["/entrypoint.sh"]
|
|
@ -0,0 +1 @@
|
|||
# GitHub actions for PSRule
|
|
@ -0,0 +1,13 @@
|
|||
name: 'Container Action Template'
|
||||
description: 'Get started with Container actions'
|
||||
author: 'GitHub'
|
||||
inputs:
|
||||
myInput:
|
||||
description: 'Input to use'
|
||||
default: 'world'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
args:
|
||||
- "-Message"
|
||||
- ${{ inputs.myInput }}
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
param (
|
||||
[String]$Message
|
||||
)
|
||||
|
||||
Out-Host "Hello from PowerShell: $Message"
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh -l
|
||||
|
||||
echo "hello $1"
|
Загрузка…
Ссылка в новой задаче