added arm arch, for 32bit rpi
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Paolo Asperti 2022-06-11 18:04:53 +02:00
parent 07629dfc63
commit 5a78015465
Signed by: paspo
GPG Key ID: 06D46905D19D5182
1 changed files with 36 additions and 38 deletions

View File

@ -75,46 +75,44 @@ steps:
event:
- tag
# no build server available (at the moment) for this arch
---
kind: pipeline
type: docker
name: linux-arm
# ---
# kind: pipeline
# type: docker
# name: linux-arm
platform:
arch: arm
os: linux
# platform:
# arch: arm
# os: linux
steps:
- name: build
image: plugins/docker:linux-arm
settings:
dockerfile: Dockerfile
dry_run: true
repo: docker.asperti.com/paspo/ftps
when:
event:
- push
# steps:
# - name: build
# image: plugins/docker:linux-arm
# settings:
# dockerfile: Dockerfile
# dry_run: true
# repo: docker.asperti.com/paspo/ftps
# when:
# event:
# - push
# - name: build_and_publish
# image: plugins/docker:linux-arm
# settings:
# dockerfile: Dockerfile
# force_tag: true
# password:
# from_secret: docker_password
# registry: docker.asperti.com
# repo: docker.asperti.com/paspo/ftps
# username:
# from_secret: docker_username
# tags:
# - ${DRONE_TAG}-linux-arm
# - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm
# - ${DRONE_SEMVER_MAJOR}-linux-arm
# when:
# event:
# - tag
- name: build_and_publish
image: plugins/docker:linux-arm
settings:
dockerfile: Dockerfile
force_tag: true
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/ftps
username:
from_secret: docker_username
tags:
- ${DRONE_TAG}-linux-arm
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm
- ${DRONE_SEMVER_MAJOR}-linux-arm
when:
event:
- tag
---
kind: pipeline
@ -145,4 +143,4 @@ trigger:
depends_on:
- linux-amd64
- linux-arm64
# - linux-arm
- linux-arm