add cross compiling on tag
@@ -8,6 +8,20 @@ pipeline:
commands:
- dapper ci
+ build-all-binaries:
+ privileged: true
+ image: rancher/dapper:1.11.2
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ environment:
+ - CROSS=1
+ commands:
+ - dapper build
+ when:
+ branch: master
+ event: tag
+
+
stage-binaries:
image: rancher/dapper:1.11.2
commands:
@@ -18,7 +32,9 @@ pipeline:
github_binary_release:
image: plugins/github-release
- files: bin/*
+ files:
+ - bin/*
+ - build/bin/*
secrets: [github_token]
when:
branch: master
