Merge pull request #2 from bendtherules/add-dockerfile

Add workflow on push
This commit is contained in:
2020-06-07 22:22:26 +05:30
committed by GitHub
4 changed files with 37 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
name: A workflow for my Hello World file
on: push
jobs:
buildABC:
name: Hello world action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ./action-a
with:
MY_NAME: "Abhas bendtherules"
+5
View File
@@ -0,0 +1,5 @@
FROM debian:9.5-slim
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
+17
View File
@@ -0,0 +1,17 @@
name: "Hello Actions"
description: "Greet someone"
author: "octocat@github.com"
inputs:
MY_NAME:
description: "Who to greet"
required: true
default: "World"
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "mic"
color: "purple"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh -l
sh -c "echo Hello world my name is $INPUT_MY_NAME"