ARM is not widely used, making the project leaner

This commit is contained in:
Laszlo Fogas 2019-11-13 11:25:21 +01:00
parent 57b906c3c7
commit 8bb5c50eb6
2 changed files with 0 additions and 32 deletions

View file

@ -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 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=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

View file

@ -89,36 +89,6 @@ pipeline:
branch: master branch: master
event: push 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: release-server-alpine:
image: plugins/docker image: plugins/docker
repo: laszlocloud/woodpecker-server repo: laszlocloud/woodpecker-server