diff --git a/.drone.jsonnet b/.drone.jsonnet index 17cd8f9..6dc52f4 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -26,7 +26,7 @@ local build(dir, package) = { { kind: 'pipeline', type: 'docker', - name: 'git log', + name: 'Build Docker Images', platform: { os: 'linux', arch: 'arm64', @@ -36,34 +36,15 @@ local build(dir, package) = { name: 'git log', image: 'cr.wks/debian-stable', commands: [ 'git diff-tree --no-commit-id --name-only HEAD -r' ] - } - ], - }, - - { - kind: 'pipeline', - type: 'docker', - name: '_CI-CD', - platform: { - os: 'linux', - arch: 'arm64', - }, - steps: [ - build('_CI-CD', pkg) - for pkg in packages - ], - }, - { - kind: 'pipeline', - type: 'docker', - name: 'apps', - platform: { - os: 'linux', - arch: 'arm64', - }, - steps: [ - build('apps', app) + }, + [ + build('_CI-CD', app) + for app in packages + ], + [ + build('apps', app) for app in apps + ] ], }, ]