local secretSecrets = import 'lib/secret-secrets.libsonnet'; 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 registry = import 'node_modules/@sigyl/jsonnet-drone/registry.libsonnet'; local save = import 'node_modules/@sigyl/jsonnet-drone/save.libsonnet'; local build = import 'node_modules/@sigyl/jsonnet-drone/build.libsonnet'; local print = import 'node_modules/@sigyl/jsonnet-drone/print.libsonnet'; local printSecrets = import 'node_modules/@sigyl/jsonnet-drone/print-secrets.libsonnet'; local config = { registry: '', name: 'gitea', root: 'stack', }; local defs = [ { load: 'gitea/gitea:1.12.3-linux-amd64@sha256:38b8222941d8acffb7bb9c3fb0e9e0b657e06815a090f1fb11ed6900a3c9f384', save: 'gitea/gitea:1.12.3-linux-amd64' }, ]; [ register, registry( config { secrets: [], images: defs, }, ), save(config)( defs, [ 'gitea', ], ), print(config)( [], publicSecrets, secretSecrets, ), printSecrets(config)( [], publicSecrets, secretSecrets, ), build(config)( [], ), deploy(config)( [], publicSecrets, secretSecrets, [ 'SCHEME', 'DOMAIN', 'REGISTRY_DOMAIN', 'REGISTRY_PORT', 'REGISTRY_PASSWORD', ], ), ]