From 2401b2471e539367508ffef220af4c9577c85b4f Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Thu, 15 Oct 2020 11:21:07 +0200 Subject: [PATCH] feat: include docker SERVER_VERSION env and github release ci step --- .drone.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index eb1cb40..485a73e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -86,7 +86,7 @@ steps: password: from_secret: registry_password build_args: - - DOCKER_IMAGE_VERSION=${DRONE_TAG} + - SERVER_VERSION=${DRONE_TAG##v} auto_tag: true auto_tag_aliases: - latest @@ -103,20 +103,20 @@ steps: password: from_secret: registry_password build_args: - - DOCKER_IMAGE_VERSION=${DRONE_TAG}-alpine + - SERVER_VERSION=${DRONE_TAG##v} auto_tag: true auto_tag_suffix: alpine -- name: gitea-release - image: plugins/gitea-release +- name: github-release + image: plugins/github-release settings: api_key: - from_secret: gitea_token - base_url: https://git.joseluisq.net/ + from_secret: github_token files: - ./bin/*.tar.gz - ./bin/*-SHA256SUM - prerelease: true + title: ${DRONE_TAG} + draft: true - name: publish-public-scratch image: joseluisq/drone-docker -- libgit2 1.7.2