Skip to content

Commit d55ea34

Browse files
committed
chore: improve ci
1 parent cbd1ecc commit d55ea34

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
.vscode
33
.env
44
.github
5+
build
56
README.md

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Check formatting
2828
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then echo "Code is not formatted. Run 'go fmt ./...'"; exit 1; fi
2929
- name: Build check
30-
run: go build -v ./src/...
30+
run: GOOS=linux go build -v -o build/test_firewall ./src/main.go
3131
build-and-push:
3232
name: Build and push image
3333
needs: check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.idea
22
.vscode
33
.env
4+
build

0 commit comments

Comments
 (0)