Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub authored Jan 4, 2024
1 parent cd1e707 commit 6a1af92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ jobs:
go-version: '1.21.5'

- name: Build
run: echo $GOPATH && pwd # cd ./tool/nging-builder && ./run.sh linux_amd64
run: mkdir -p $GOPATH/src/github.com/admpub/ && ln -s "$(pwd)" $GOPATH/src/github.com/admpub/nging && go mod vendor && cd ./tool/nging-builder && ./run.sh linux_amd64 && cd ../../

- name: Build the Docker image
run: docker build . --file Dockerfile --tag "admpub/nging:latest"
# run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
# - name: Test
# run: go test -v ./...

0 comments on commit 6a1af92

Please sign in to comment.