Skip to content

Commit

Permalink
feat: testing docker image with ko
Browse files Browse the repository at this point in the history
  • Loading branch information
fadyat committed Nov 11, 2023
1 parent f7f111d commit 545e551
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: publish

on:
push:
branches: [ 'master' ]

jobs:
publish:
name: publish
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- uses: actions/checkout@v3
- uses: ko-build/setup-ko@v0.6
- run: ko build
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ifneq (,$(wildcard ./.env))
endif

run:
@go run cmd/main.go
@go run main.go

integration:
@go test -v ./... -tags=integration
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 545e551

Please sign in to comment.