From 5a78015465e459b09bc4473665bcfa998c32beb4 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Sat, 11 Jun 2022 18:04:53 +0200 Subject: [PATCH] added arm arch, for 32bit rpi --- .drone.yml | 74 ++++++++++++++++++++++++++---------------------------- 1 file changed, 36 insertions(+), 38 deletions(-) diff --git a/.drone.yml b/.drone.yml index febe90a..fce5b38 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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