index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2020-10-15 9:21:07.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2020-10-15 9:21:07.0 +00:00:00
commit
2401b2471e539367508ffef220af4c9577c85b4f [patch]
tree
eedcb0f7da1086c77a99ae507208c2412c7ebc21
parent
6d3dc45b6b97ddafde7435c2111b9af98f8ae492
download
2401b2471e539367508ffef220af4c9577c85b4f.tar.gz

feat: include docker SERVER_VERSION env and github release ci step



Diff

 .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