From ff74134cf13e765871d6ed5b5eb979989de5ce01 Mon Sep 17 00:00:00 2001 From: Supan Adit Pratama Date: Wed, 25 Sep 2024 17:12:45 +0700 Subject: [PATCH] ci: add automation --- .drone.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c404e7c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,17 @@ +kind: pipeline +type: docker +name: build +steps: + - name: image + image: plugins/docker + settings: + registry: git.supanadit.com + repo: git.supanadit.com/supanadit/${DRONE_REPO_NAME} + tags: ${DRONE_TAG} + username: + from_secret: DRONE_PUBLISH_USER + password: + from_secret: DRONE_PUBLISH_KEY +trigger: + ref: + - refs/tags/*