From cf07868b84caaeb5d97c9d5fdae7edd52c2c1bfc Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Fri, 14 Aug 2020 12:01:52 -0500 Subject: [PATCH] clean up --- .drone.yml | 8 +++++++- Dockerfile | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index f95e9a6..80e32e7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,8 +19,14 @@ steps: image: plugins/docker settings: repo: jcollie/osslsigncode + build_args: + - VERSION=1.7.1 + - SHA256_HASH=f9a8cdb38b9c309326764ebc937cba1523a3a751a7ab05df3ecc99d18ae466c9 username: from_secret: docker_username password: from_secret: docker_password - auto_tag: true + tags: + - latest + - '1.7.1' + - '1.7' diff --git a/Dockerfile b/Dockerfile index c62275c..076fd6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,12 +3,12 @@ FROM alpine:3.6 AS base -RUN apk add --no-cache curl openssl libgsf +RUN apk add --no-cache curl libgsf openssl FROM base AS build -ARG VERSION=1.7.1 -ARG SHA256_HASH=f9a8cdb38b9c309326764ebc937cba1523a3a751a7ab05df3ecc99d18ae466c9 +ARG VERSION +ARG SHA256_HASH RUN apk add --update autoconf build-base curl-dev libgsf-dev openssl-dev RUN curl -s -L https://downloads.sourceforge.net/project/osslsigncode/osslsigncode/osslsigncode-$VERSION.tar.gz > osslsigncode-$VERSION.tar.gz