From 4bb9b51b24fccf0fb9c08050d1c05c817d8fda7e Mon Sep 17 00:00:00 2001 From: Supan Adit Pratama Date: Thu, 26 Sep 2024 19:47:42 +0700 Subject: [PATCH] ci: 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/*