diff --git a/.drone.yml b/.drone.yml index a974ea0..41b4d8d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,7 +51,6 @@ steps: - hadolint docker/Dockerfile.linux.amd64 - hadolint docker/Dockerfile.linux.arm64 - hadolint docker/Dockerfile.linux.arm - - hadolint docker/Dockerfile.windows.amd64 volumes: - name: gopath path: /go @@ -98,7 +97,7 @@ steps: pull: always image: golang:1.15 commands: - - "go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/amd64/gorush" + - go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/amd64/gorush environment: CGO_ENABLED: 0 when: @@ -110,7 +109,7 @@ steps: pull: always image: golang:1.15 commands: - - "go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/amd64/gorush" + - go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/amd64/gorush environment: CGO_ENABLED: 0 when: @@ -158,8 +157,8 @@ steps: trigger: ref: - refs/heads/master - - "refs/pull/**" - - "refs/tags/**" + - refs/pull/** + - refs/tags/** depends_on: - testing @@ -177,7 +176,7 @@ steps: pull: always image: golang:1.15 commands: - - "go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm64/gorush" + - go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm64/gorush environment: CGO_ENABLED: 0 when: @@ -189,7 +188,7 @@ steps: pull: always image: golang:1.15 commands: - - "go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm64/gorush" + - go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm64/gorush environment: CGO_ENABLED: 0 when: @@ -237,8 +236,8 @@ steps: trigger: ref: - refs/heads/master - - "refs/pull/**" - - "refs/tags/**" + - refs/pull/** + - refs/tags/** depends_on: - testing @@ -256,7 +255,7 @@ steps: pull: always image: golang:1.15 commands: - - "go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm/gorush" + - go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm/gorush environment: CGO_ENABLED: 0 when: @@ -268,7 +267,7 @@ steps: pull: always image: golang:1.15 commands: - - "go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm/gorush" + - go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm/gorush environment: CGO_ENABLED: 0 when: @@ -316,8 +315,8 @@ steps: trigger: ref: - refs/heads/master - - "refs/pull/**" - - "refs/tags/**" + - refs/pull/** + - refs/tags/** depends_on: - testing @@ -347,14 +346,14 @@ steps: api_key: from_secret: github_release_api_key files: - - "dist/release/*" + - dist/release/* when: event: - tag trigger: ref: - - "refs/tags/**" + - refs/tags/** depends_on: - testing @@ -382,7 +381,7 @@ steps: trigger: ref: - refs/heads/master - - "refs/tags/**" + - refs/tags/** depends_on: - linux-amd64 diff --git a/pipeline.libsonnet b/pipeline.libsonnet index 23c23c0..44de9c3 100644 --- a/pipeline.libsonnet +++ b/pipeline.libsonnet @@ -72,7 +72,6 @@ 'hadolint docker/Dockerfile.linux.amd64', 'hadolint docker/Dockerfile.linux.arm64', 'hadolint docker/Dockerfile.linux.arm', - 'hadolint docker/Dockerfile.windows.amd64', ], volumes: [ {