@@ -93,6 +93,38 @@ steps:
93
93
- " gs://rules_docker/$COMMIT_SHA/loader-linux-arm64"
94
94
id : " push-loader-linux-arm64"
95
95
waitFor : ["build-linux-arm64"]
96
+
97
+ # Step: build the puller and pusher release binary for Linux s390x
98
+ - name : " l.gcr.io/google/bazel"
99
+ args :
100
+ - " build"
101
+ - " --platforms=@io_bazel_rules_go//go/toolchain:linux_s390x"
102
+ - " //container/go/cmd/puller:puller"
103
+ - " //container/go/cmd/loader:loader"
104
+ id : " build-linux-s390x"
105
+ waitFor : ["push-puller-linux-arm64", "push-loader-linux-arm64"]
106
+
107
+ # Step: push the puller release binary for Linux s390x
108
+ - name : " gcr.io/cloud-builders/gsutil"
109
+ args :
110
+ - " cp"
111
+ - " -a"
112
+ - " public-read"
113
+ - " bazel-bin/container/go/cmd/puller/puller_/puller"
114
+ - " gs://rules_docker/$COMMIT_SHA/puller-linux-s390x"
115
+ id : " push-puller-linux-s390x"
116
+ waitFor : ["build-linux-s390x"]
117
+
118
+ # Step: push the loader release binary for Linux s390x
119
+ - name : " gcr.io/cloud-builders/gsutil"
120
+ args :
121
+ - " cp"
122
+ - " -a"
123
+ - " public-read"
124
+ - " bazel-bin/container/go/cmd/loader/loader_/loader"
125
+ - " gs://rules_docker/$COMMIT_SHA/loader-linux-s390x"
126
+ id : " push-loader-linux-s390x"
127
+ waitFor : ["build-linux-s390x"]
96
128
97
129
# Step: build the puller and loader release binaries for Darwin AMD64
98
130
- name : " l.gcr.io/google/bazel"
@@ -102,7 +134,7 @@ steps:
102
134
- " //container/go/cmd/puller:puller"
103
135
- " //container/go/cmd/loader:loader"
104
136
id : " build-darwin-amd64"
105
- waitFor : ["push-puller-linux-arm64 ", "push-loader-linux-arm64 "]
137
+ waitFor : ["push-puller-linux-s390x ", "push-loader-linux-s390x "]
106
138
107
139
# Step: push the puller release binary for Darwin AMD64
108
140
- name : " gcr.io/cloud-builders/gsutil"
0 commit comments