Also publish to registry.nemunai.re
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-09-05 19:12:51 +02:00
parent f008669bd8
commit 15be0cf465
2 changed files with 75 additions and 0 deletions

22
.drone-manifest-local.yml Normal file
View File

@ -0,0 +1,22 @@
image: registry.nemunai.re/youp0m:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
{{/if}}
manifests:
- image: registry.nemunai.re/youp0m:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
platform:
architecture: amd64
os: linux
- image: registry.nemunai.re/youp0m:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
platform:
architecture: arm64
os: linux
variant: v8
- image: registry.nemunai.re/youp0m:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
platform:
architecture: arm
os: linux
variant: v7

View File

@ -31,6 +31,20 @@ steps:
password:
from_secret: docker_password
- name: publish on nemunai.re
image: plugins/docker
settings:
registry: registry.nemunai.re
repo: registry.nemunai.re/youp0m
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
experimental: true
squash: true
username:
from_secret: docker_nemunai.re_username
password:
from_secret: docker_nemunai.re_password
---
kind: pipeline
type: docker
@ -64,6 +78,20 @@ steps:
password:
from_secret: docker_password
- name: publish on nemunai.re
image: plugins/docker
settings:
registry: registry.nemunai.re
repo: registry.nemunai.re/youp0m
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
experimental: true
squash: true
username:
from_secret: docker_nemunai.re_username
password:
from_secret: docker_nemunai.re_password
---
kind: pipeline
type: docker
@ -97,6 +125,20 @@ steps:
password:
from_secret: docker_password
- name: publish on nemunai.re
image: plugins/docker
settings:
registry: registry.nemunai.re
repo: registry.nemunai.re/youp0m
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
experimental: true
squash: true
username:
from_secret: docker_nemunai.re_username
password:
from_secret: docker_nemunai.re_password
---
kind: pipeline
name: docker-manifest
@ -113,6 +155,17 @@ steps:
password:
from_secret: docker_password
- name: publish on nemunai.re
image: plugins/manifest
settings:
auto_tag: true
ignore_missing: true
spec: .drone-manifest-local.yml
username:
from_secret: docker_nemunai.re_username
password:
from_secret: docker_nemunai.re_password
trigger:
event:
- cron