index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2020-10-15 14:59:23.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2020-10-15 14:59:23.0 +00:00:00
commit
ee47f76bad9e947509ae23b0376ec5f2c6caa53c [patch]
tree
7e28a8d46e4663898513ce5416349e10901d6fdb
parent
5226333cec06e282760869cc2dfaf168d3f73e8f
download
ee47f76bad9e947509ae23b0376ec5f2c6caa53c.tar.gz

refactor: add build_args on docker image pipeline



Diff

 .drone.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.drone.yml b/.drone.yml
index 485a73e..b5ffe38 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -128,6 +128,8 @@ steps:
      from_secret: dockerhub_username
    password:
      from_secret: dockerhub_password
    build_args:
      - SERVER_VERSION=${DRONE_TAG##v}
    auto_tag: true
    auto_tag_aliases:
      - latest
@@ -142,6 +144,8 @@ steps:
      from_secret: dockerhub_username
    password:
      from_secret: dockerhub_password
    build_args:
      - SERVER_VERSION=${DRONE_TAG##v}
    auto_tag: true
    auto_tag_suffix: alpine