From 6ed58a676f73703b755b49ec4ba0195ba6c87663 Mon Sep 17 00:00:00 2001 From: paspo Date: Sun, 16 Jun 2024 16:21:12 +0200 Subject: [PATCH] removed alternate repository --- .drone.yml | 61 ++++---------------------------------------------- manifest2.tmpl | 19 ---------------- 2 files changed, 4 insertions(+), 76 deletions(-) delete mode 100644 manifest2.tmpl diff --git a/.drone.yml b/.drone.yml index c35fe0a..f104cd8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,25 +35,7 @@ steps: when: event: - tag - - - name: build_and_publish2 - image: plugins/docker:linux-amd64 - settings: - dockerfile: Dockerfile - force_tag: true - password: - from_secret: gitea_docker_password - registry: git.asperti.com - repo: git.asperti.com/paspo/docker-ftps - username: - from_secret: gitea_docker_username - tags: - - ${DRONE_TAG}-linux-amd64 - - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-amd64 - - ${DRONE_SEMVER_MAJOR}-linux-amd64 - when: - event: - - tag + - cron --- kind: pipeline @@ -93,25 +75,7 @@ steps: when: event: - tag - - - name: build_and_publish2 - image: plugins/docker:linux-arm64 - settings: - dockerfile: Dockerfile - force_tag: true - password: - from_secret: gitea_docker_password - registry: git.asperti.com - repo: git.asperti.com/paspo/docker-ftps - username: - from_secret: gitea_docker_username - tags: - - ${DRONE_TAG}-linux-arm64 - - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64 - - ${DRONE_SEMVER_MAJOR}-linux-arm64 - when: - event: - - tag + - cron --- kind: pipeline @@ -137,29 +101,12 @@ steps: when: event: - tag - - - name: manifest2 - image: plugins/manifest - settings: - force_tag: true - ignore_missing: true - spec: manifest2.tmpl - username: - from_secret: gitea_docker_username - password: - from_secret: gitea_docker_password - tags: - - latest - - ${DRONE_TAG} - - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR} - - ${DRONE_SEMVER_MAJOR} - when: - event: - - tag + - cron trigger: event: - tag + - cron depends_on: - linux-amd64 diff --git a/manifest2.tmpl b/manifest2.tmpl deleted file mode 100644 index 9d16ca6..0000000 --- a/manifest2.tmpl +++ /dev/null @@ -1,19 +0,0 @@ -image: git.asperti.com/paspo/docker-ftps:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} -{{#if build.tags}} -tags: -{{#each build.tags}} - - {{this}} -{{/each}} -{{/if}} -manifests: - - - image: git.asperti.com/paspo/docker-ftps:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64 - platform: - architecture: amd64 - os: linux - - - image: git.asperti.com/paspo/docker-ftps:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64 - platform: - variant: v8 - architecture: arm64 - os: linux