.
This commit is contained in:
parent
ea90a7cd27
commit
fb57269ce5
|
@ -4,9 +4,33 @@ local publicSecrets = import 'lib/public-secrets.libsonnet';
|
|||
|
||||
local deploy = import 'node_modules/@sigyl/jsonnet-drone/deploy.libsonnet';
|
||||
local register = import 'node_modules/@sigyl/jsonnet-drone/register.libsonnet';
|
||||
|
||||
local deploy = import 'node_modules/@sigyl/jsonnet-drone/deploy.libsonnet';
|
||||
local registry = import 'node_modules/@sigyl/jsonnet-drone/registry.libsonnet';
|
||||
|
||||
|
||||
local config = {
|
||||
registry: '',
|
||||
};
|
||||
|
||||
[
|
||||
register,
|
||||
deploy(
|
||||
registry(
|
||||
config {
|
||||
script: 'sh .drone/scripts/initialise-images.sh',
|
||||
secrets: [],
|
||||
},
|
||||
) {
|
||||
trigger +: {
|
||||
event +: [
|
||||
'promote',
|
||||
],
|
||||
target +: [
|
||||
'registry',
|
||||
],
|
||||
},
|
||||
},
|
||||
deploy(config)(
|
||||
'portainer',
|
||||
'/stack/',
|
||||
[],
|
||||
|
|
Loading…
Reference in New Issue