Skip to content

Instantly share code, notes, and snippets.

View Hmerac's full-sized avatar

Mert Açıkportalı Hmerac

View GitHub Profile
@Hmerac
Hmerac / validate-my-parchment.yaml
Last active April 13, 2020 19:44
kubeval workflow
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: Hmerac/[email protected]
@Hmerac
Hmerac / Dockerfile
Created April 13, 2020 19:16
Dockerfile for kubeval-action
FROM garethr/kubeval
ADD entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
@Hmerac
Hmerac / entrypoint.sh
Created April 13, 2020 19:21
Run the command
#!/bin/sh -l
sh -c "$INPUT_COMMAND"
@Hmerac
Hmerac / actions.yaml
Created April 13, 2020 19:24
Action configuration
name: 'kubeval'
description: 'GitHub Action by kubeval command'
author: 'Mert Acikportali'
branding:
icon: 'target'
color: 'red'
inputs:
command:
description: 'Command to run'
required: true