Skip to content

Commit

Permalink
ci(.drone.yml): use the container jsonnet template
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmohmans committed Sep 2, 2024
1 parent 3f050a7 commit 79219eb
Showing 1 changed file with 6 additions and 35 deletions.
41 changes: 6 additions & 35 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit 79219eb

Please sign in to comment.