mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
Add Dockerfile.bats
This commit is contained in:
parent
87c1104f05
commit
09597ce907
2 changed files with 4 additions and 5 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
|
@ -10,12 +10,11 @@ jobs:
|
|||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: tests
|
||||
- name: test
|
||||
run: make docker-test
|
||||
|
||||
- name: build
|
||||
run: make docker-build-static
|
||||
|
||||
- name: acceptance-tests
|
||||
run:
|
||||
docker build -t bats -f Dockerfile.bats .
|
||||
- name: acceptance-test
|
||||
run: make docker-acceptance
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -19,6 +19,6 @@ docker-test:
|
|||
docker-build-static:
|
||||
docker run -t -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform golang:1.14 make build-static
|
||||
|
||||
acceptance:
|
||||
docker-acceptance:
|
||||
docker build -t bats -f Dockerfile.bats .
|
||||
docker run -t bats acceptance.bats
|
||||
|
|
|
|||
Loading…
Reference in a new issue