Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
9c11f1705c | |||
aad30fda0f |
44
.drone.yml
44
.drone.yml
@@ -23,8 +23,6 @@ steps:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-amd64
|
||||
platform: 'linux/amd64'
|
||||
tags:
|
||||
- latest
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
@@ -51,13 +49,11 @@ steps:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-arm64
|
||||
platform: 'linux/arm64'
|
||||
tags:
|
||||
- latest
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: manifest
|
||||
name: manifest-version
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
@@ -67,18 +63,42 @@ trigger:
|
||||
event:
|
||||
- tag
|
||||
steps:
|
||||
- name: manifest
|
||||
- name: manifest-version
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
spec: docker/manifest.tmpl
|
||||
spec: docker/manifest.version.tmpl
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
auto_tag: true
|
||||
ignore_missing: true
|
||||
tags:
|
||||
- latest
|
||||
depends_on:
|
||||
- linux-amd64
|
||||
- linux-arm64
|
||||
depends_on:
|
||||
- linux-amd64
|
||||
- linux-arm64
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: manifest-latest
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
node_selector:
|
||||
kubernetes.io/arch: amd64
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
steps:
|
||||
- name: manifest-latest
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
spec: docker/manifest.latest.tmpl
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
auto_tag: true
|
||||
ignore_missing: true
|
||||
depends_on:
|
||||
- linux-amd64
|
||||
- linux-arm64
|
10
docker/manifest.latest.tmpl
Normal file
10
docker/manifest.latest.tmpl
Normal file
@@ -0,0 +1,10 @@
|
||||
image: bottledpills/deluge-openvpn:latest
|
||||
manifests:
|
||||
- image: bottledpills/deluge-openvpn:latest-linux-amd64
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: linux
|
||||
- image: bottledpills/deluge-openvpn:latest-linux-arm64
|
||||
platform:
|
||||
architecture: arm64
|
||||
os: linux
|
@@ -1,12 +0,0 @@
|
||||
image: bottledpills/deluge-openvpn:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||
manifests:
|
||||
-
|
||||
image: bottledpills/deluge-openvpn:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: linux
|
||||
-
|
||||
image: bottledpills/deluge-openvpn:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
|
||||
platform:
|
||||
architecture: arm64
|
||||
os: linux
|
10
docker/manifest.version.tmpl
Normal file
10
docker/manifest.version.tmpl
Normal file
@@ -0,0 +1,10 @@
|
||||
image: bottledpills/deluge-openvpn:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||
manifests:
|
||||
- image: bottledpills/deluge-openvpn:{{#if build.tag}}{{trimPrefix "v" build.tag}}-linux-amd64{{else}}latest-linux-amd64{{/if}}
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: linux
|
||||
- image: bottledpills/deluge-openvpn:{{#if build.tag}}{{trimPrefix "v" build.tag}}-linux-arm64{{else}}latest-linux-arm64{{/if}}
|
||||
platform:
|
||||
architecture: arm64
|
||||
os: linux
|
Reference in New Issue
Block a user