mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
ARM is not widely used, making the project leaner
This commit is contained in:
parent
57b906c3c7
commit
8bb5c50eb6
2 changed files with 0 additions and 32 deletions
|
@ -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
.drone.yml
30
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue