Skip to content

Commit

Permalink
(maint) disable arm builds (#3262)
Browse files Browse the repository at this point in the history
  • Loading branch information
TP Honey committed Sep 8, 2022
1 parent 730425f commit dbb6d3c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 44 deletions.
76 changes: 38 additions & 38 deletions .drone.yml
Expand Up @@ -77,43 +77,43 @@ trigger:
depends_on:
- linux-amd64

---
kind: pipeline
type: docker
name: linux-arm

platform:
arch: arm
os: linux

steps:
- name: build
image: golang:1.14.15
commands:
- sh scripts/build.sh
environment:
GOARCH: arm
GOOS: linux

- name: publish
image: plugins/docker:18
settings:
auto_tag: true
auto_tag_suffix: linux-arm
dockerfile: docker/Dockerfile.server.linux.arm
repo: drone/drone
username:
from_secret: docker_username
password:
from_secret: docker_password

trigger:
event:
- push
- tag

depends_on:
- linux-amd64
# ---
# kind: pipeline
# type: docker
# name: linux-arm

# platform:
# arch: arm
# os: linux

# steps:
# - name: build
# image: golang:1.14.15
# commands:
# - sh scripts/build.sh
# environment:
# GOARCH: arm
# GOOS: linux

# - name: publish
# image: plugins/docker:18
# settings:
# auto_tag: true
# auto_tag_suffix: linux-arm
# dockerfile: docker/Dockerfile.server.linux.arm
# repo: drone/drone
# username:
# from_secret: docker_username
# password:
# from_secret: docker_password

# trigger:
# event:
# - push
# - tag

# depends_on:
# - linux-amd64

---
kind: pipeline
Expand All @@ -139,4 +139,4 @@ trigger:

depends_on:
- linux-arm64
- linux-arm
# - linux-arm
6 changes: 0 additions & 6 deletions docker/manifest.server.tmpl
Expand Up @@ -17,9 +17,3 @@ manifests:
architecture: arm64
os: linux
variant: v8
-
image: drone/drone:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
platform:
architecture: arm
os: linux
variant: v7

0 comments on commit dbb6d3c

Please sign in to comment.