Skip to content

Commit edf7d58

Browse files
committed
Update pipeline drone-buildx-gar-harness
1 parent 532ab0c commit edf7d58

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.harness/harness.yaml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pipeline:
107107
repo: plugins/buildx-gar
108108
tags:
109109
- windows-1809-amd64
110-
caching: true
110+
caching: false
111111
dockerfile: docker/gar/Dockerfile.windows.amd64.1809
112112
when:
113113
stageStatus: Success
@@ -195,7 +195,7 @@ pipeline:
195195
repo: plugins/buildx-gar
196196
tags:
197197
- windows-ltsc2022-amd64
198-
caching: true
198+
caching: false
199199
dockerfile: docker/gar/Dockerfile.windows.amd64.ltsc2022
200200
when:
201201
stageStatus: Success
@@ -302,7 +302,7 @@ pipeline:
302302
repo: plugins/buildx-gar
303303
tags:
304304
- linux-amd64
305-
caching: true
305+
caching: false
306306
dockerfile: docker/gar/Dockerfile.linux.amd64
307307
when:
308308
stageStatus: Success
@@ -409,7 +409,7 @@ pipeline:
409409
repo: plugins/buildx-gar
410410
tags:
411411
- linux-arm64
412-
caching: true
412+
caching: false
413413
dockerfile: docker/gar/Dockerfile.linux.arm64
414414
when:
415415
stageStatus: Success
@@ -469,16 +469,7 @@ pipeline:
469469
GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gar-darwin-amd64 ./cmd/drone-buildx-gar
470470
GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gar-darwin-arm64 ./cmd/drone-buildx-gar
471471
GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-gar-windows-amd64 ./cmd/drone-buildx-gar
472-
envVariables:
473-
CGO_ENABLED: "0"
474-
GO111MODULE: "on"
475-
- step:
476-
type: Run
477-
name: zstd Compress
478-
identifier: zstd_Compress
479-
spec:
480-
shell: Sh
481-
command: |-
472+
482473
apt-get update -y
483474
apt-get install -y zstd
484475
@@ -487,6 +478,9 @@ pipeline:
487478
zstd release/drone-buildx-gar-darwin-arm64
488479
zstd release/drone-buildx-gar-darwin-amd64
489480
zstd release/drone-buildx-gar-windows-amd64
481+
envVariables:
482+
CGO_ENABLED: "0"
483+
GO111MODULE: "on"
490484
- step:
491485
type: Plugin
492486
name: Release
@@ -507,3 +501,4 @@ pipeline:
507501
description: ""
508502
required: false
509503
value: drone-plugins
504+
allowStageExecutions: true

0 commit comments

Comments
 (0)