Skip to content

Commit 5021b74

Browse files
committed
Add CI
1 parent beb7a02 commit 5021b74

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @WyriHaximus

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: WyriHaximus

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Continuous Integration
2+
env:
3+
DOCKER_IMAGE: wyrihaximusnet/kubernetes-redis-db-asignment-operator
4+
DOCKER_BUILDKIT: 1
5+
on:
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
jobs:
11+
lint:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Lint Dockerfile
18+
uses: docker://hadolint/hadolint:latest-debian
19+
with:
20+
entrypoint: hadolint
21+
args: Dockerfile
22+
build:
23+
needs:
24+
- lint
25+
runs-on: ubuntu-latest
26+
strategy:
27+
fail-fast: false
28+
steps:
29+
- uses: actions/checkout@v2
30+
- run: docker docker . -t "${DOCKER_IMAGE}:ci-latest"
31+
- run: docker images

0 commit comments

Comments
 (0)