diff --git a/.drone.yml b/.drone.yml index 0c011a39..92e580bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,37 +1,8 @@ # Drone CI File! -kind: pipeline -type: kubernetes -name: default - -metadata: - namespace: builds - -node_selector: - doks.digitalocean.com/node-pool: josa-cloud-np - -steps: - - name: build - image: plugins/docker - settings: - repo: josaorg/safepass - build_args: - [ - MATOMO_URL=https://track.josa.ngo/, - MATOMO_SITE_ID=15, - ] - tags: - - ${DRONE_COMMIT_SHA} - - stable - username: - from_secret: docker_username - password: - from_secret: docker_password - - name: notify - image: plugins/slack - settings: - webhook: - from_secret: slack_webhook - channel: heartbeat - depends_on: - - build +kind: template +load: container.jsonnet +data: + repositoryName: josaorg/safepass + releaseName: safepass + buildArgs: MATOMO_URL=https://track.josa.ngo/, MATOMO_SITE_ID=15