Skip to content

Commit

Permalink
finish hook
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Kramarenko <[email protected]>
  • Loading branch information
ViktorKram committed Aug 30, 2024
1 parent 05ab1b3 commit f393541
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions images/agent/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,18 @@ from: {{ $.BASE_GOLANG_22_ALPINE }}
final: false

git:
- add: /images/agent/src
to: /src
- add: /
to: /
includePaths:
- api
- images/agent/src
stageDependencies:
setup:
- "**/*"

shell:
setup:
- cd /src/cmd
- cd /images/agent/src/cmd
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-s -w" -o /sds-node-configurator-agent
- chmod +x /sds-node-configurator-agent

Expand Down

0 comments on commit f393541

Please sign in to comment.