File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ steps :
2+ - label : Go version
3+ command : go version
4+
5+ - label : Docker version
6+ command : docker version
7+
8+ - label : Install tools
9+ command :
10+ - go get -u github.com/linuxkit/linuxkit/src/cmd/linuxkit
11+ - go get -u github.com/estesp/manifest-tool
12+ - go get -u github.com/tcnksm/ghr
13+ # Ensure jq is installed
14+ - echo '{}' | jq '.'
15+
16+ - wait
17+
18+ - label : Build linuxkit package images
19+ branches : " !master !v*" # Only PRs, don't run for tags
20+ command :
21+ - cd pkg
22+ - make forcebuild
23+
24+ - label : Build & push linuxkit package images
25+ branches : " master !v*" # Don't run for tags
26+ command :
27+ - echo $DOCKER_PASS | docker login --username $DOCKER_USER --password-stdin
28+ - cd pkg
29+ - make forcepush
Original file line number Diff line number Diff line change @@ -68,20 +68,15 @@ workflows:
6868 build_and_test :
6969 jobs :
7070 - test :
71- # Don't run when branches updates, only when tags get created
7271 filters :
7372 tags :
7473 ignore :
7574 - /.*/
7675
7776 - publish-packages :
78- # Don't run when branches updates, only when tags get created
7977 filters :
8078 branches :
81- ignore : /.*/
82- tags :
83- only :
84- - /v.*/
79+ only : master
8580
8681 - publish-linuxkit :
8782 # Don't run when branches updates, only when tags get created
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import (
4+ "log"
5+ "runtime"
6+ )
7+
8+ func main () {
9+ log .Println (runtime .GOARCH )
10+ }
You can’t perform that action at this time.
0 commit comments