Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix .dockerignore, add docker run and go vet tests in CI #55

Merged
merged 12 commits into from
Oct 16, 2024
5 changes: 4 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
!go.sum
!.git/
!internal/
!main.go/
!main.go
!main_init.go
!main_generate.go
!main_resources.go/
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,10 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
push: false
push: false
load: true
tags: score-k8s:test
- name: Test docker image
run: |
docker run --rm score-k8s:test --version
docker run --rm score-k8s:test init
Loading