diff --git a/.woodpecker/my-first-workflow.yaml b/.woodpecker/my-first-workflow.yaml index 4f821c80..a5be51df 100644 --- a/.woodpecker/my-first-workflow.yaml +++ b/.woodpecker/my-first-workflow.yaml @@ -7,7 +7,6 @@ clone: settings: depth: 50 lfs: false - use-ssh: true steps: - name: build @@ -16,7 +15,12 @@ steps: - echo "This is the build step" - echo "binary-data-123" > executable - name: a-test-step - image: golang:1.16 + image: golang:1.25 commands: - - echo "Testing ..." - - ./executable + go build -v \ + -p=4 \ + -trimpath \ + -buildvcs=false \ + -ldflags "-s -w -buildid= -extldflags '-static'" \ + -o ./build/${CI_COMMIT_SHA} \ + ./logic