From 476ba9bb8274b908fb0edeaf57f9a8e8c78278dc Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Fri, 10 Jun 2022 23:54:52 +0200 Subject: [PATCH] multiarch --- .drone.yml | 80 +++++++++++++++++++++++++++--------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6b1a8e1..a4ab920 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,48 +27,18 @@ trigger: event: - tag -# --- -# kind: pipeline -# type: docker -# name: linux-arm64 - -# platform: -# arch: arm64 -# os: linux - -# steps: -# - name: build_and_publish -# image: plugins/docker:linux-arm64 -# 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-arm64 -# - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64 -# - ${DRONE_SEMVER_MAJOR}-linux-arm64 - -# trigger: -# event: -# - tag - --- kind: pipeline type: docker -name: linux-arm +name: linux-arm64 platform: - arch: arm + arch: arm64 os: linux steps: - name: build_and_publish - image: plugins/docker:linux-arm + image: plugins/docker:linux-arm64 settings: dockerfile: Dockerfile force_tag: true @@ -79,14 +49,44 @@ steps: username: from_secret: docker_username tags: - - ${DRONE_TAG}-linux-arm - - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm - - ${DRONE_SEMVER_MAJOR}-linux-arm + - ${DRONE_TAG}-linux-arm64 + - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64 + - ${DRONE_SEMVER_MAJOR}-linux-arm64 trigger: event: - tag +# --- +# kind: pipeline +# type: docker +# name: linux-arm + +# platform: +# arch: arm +# os: linux + +# steps: +# - 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 + +# trigger: +# event: +# - tag + --- kind: pipeline type: docker @@ -111,9 +111,9 @@ steps: trigger: event: - - tag + - tag depends_on: -- linux-amd64 -# - linux-arm64 -- linux-arm + - linux-amd64 + - linux-arm64 +# - linux-arm