Skip to content

Commit

Permalink
fix: Building application binary instead of docker, since we should l…
Browse files Browse the repository at this point in the history
…ogin in registry then
  • Loading branch information
werniq committed Oct 24, 2024
1 parent 2f1d9ac commit 9751d02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ jobs:
- name: Install go-task to build docker image
run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b ~/.local/bin

- name: Build Waffle docker image
run: task dockerBuild
- name: Build Waffle using Golang
run: task docker
5 changes: 5 additions & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ tasks:
cmds:
- mockery

build:
desc: "Build a project using Golang"
cmds:
- go build -o /out/app ./cmd/proxy

dockerBuild:
desc: "Build a Docker image using the specified Dockerfile and tag it with the provided image name."
cmds:
Expand Down

0 comments on commit 9751d02

Please sign in to comment.