removed alternate repository

This commit is contained in:
Paolo Asperti 2024-06-16 16:21:12 +02:00
parent 799895baa0
commit 6ed58a676f
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 4 additions and 76 deletions

View File

@ -35,25 +35,7 @@ steps:
when: when:
event: event:
- tag - tag
- cron
- 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
--- ---
kind: pipeline kind: pipeline
@ -93,25 +75,7 @@ steps:
when: when:
event: event:
- tag - tag
- cron
- 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
--- ---
kind: pipeline kind: pipeline
@ -137,29 +101,12 @@ steps:
when: when:
event: event:
- tag - tag
- cron
- 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
trigger: trigger:
event: event:
- tag - tag
- cron
depends_on: depends_on:
- linux-amd64 - linux-amd64

View File

@ -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