Skip to content

Commit

Permalink
ARM is not widely used, making the project leaner
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocph committed Nov 13, 2019
1 parent 57b906c commit 8bb5c50
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
2 changes: 0 additions & 2 deletions .drone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ echo "Building $VERSION"

go build -ldflags '-extldflags "-static" -X github.com/laszlocph/woodpecker/version.Version='${VERSION} -o release/drone-server github.com/laszlocph/woodpecker/cmd/drone-server
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/woodpecker/version.Version='${VERSION} -o release/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/woodpecker/version.Version='${VERSION} -o release/linux/arm64/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent
GOOS=linux GOARCH=arm CGO_ENABLED=0 GOARM=7 go build -ldflags '-X github.com/laszlocph/woodpecker/version.Version='${VERSION} -o release/linux/arm/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent
30 changes: 0 additions & 30 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,36 +89,6 @@ pipeline:
branch: master
event: push

publish-agent-arm:
image: plugins/docker
repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent.linux.arm
secrets: [ docker_username, docker_password ]
tag: [ linux-arm ]
when:
branch: master
event: push

publish-agent-arm64:
image: plugins/docker
repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent.linux.arm64
secrets: [ docker_username, docker_password ]
tag: [ linux-arm64 ]
when:
branch: master
event: push

publish-agent-amd64:
image: plugins/docker
repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent
secrets: [ docker_username, docker_password ]
tag: [ latest ]
when:
branch: master
event: push

release-server-alpine:
image: plugins/docker
repo: laszlocloud/woodpecker-server
Expand Down

0 comments on commit 8bb5c50

Please sign in to comment.