From be6a3df05a2a480df27f5389ac8c21485b11ffe7 Mon Sep 17 00:00:00 2001 From: Joachim Hill-Grannec Date: Tue, 27 Feb 2018 13:34:18 -0500 Subject: [PATCH] Removing maintainer from images and publishing only on tag --- .drone.yml | 11 ++++------- Dockerfile.arm64 | 1 - Dockerfile.windows | 1 - 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 523c5f7..07a308f 100755 --- a/.drone.yml +++ b/.drone.yml @@ -53,12 +53,11 @@ pipeline: image: plugins/docker username: josmo repo: peloton/drone-rancher - tags: [ latest, 1.0.0, 1.0, 1 ] + tags: [ latest, ${DRONE_TAG##v}, 1.0, 1 ] secrets: [ docker_password ] dockerfile: Dockerfile when: - branch: master - event: push + event: tag publish_linux_arm64: image: plugins/docker @@ -68,8 +67,7 @@ pipeline: secrets: [ docker_password ] dockerfile: Dockerfile.arm64 when: - branch: master - event: push + event: tag publish_linux_arm: image: plugins/docker @@ -79,8 +77,7 @@ pipeline: secrets: [ docker_password ] dockerfile: Dockerfile.arm when: - branch: master - event: push + event: tag # publish_windows_amd64: # image: plugins/docker diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index cddf29e..69bc2eb 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -2,7 +2,6 @@ FROM alpine:3.6 as alpine RUN apk add -U --no-cache ca-certificates FROM scratch -MAINTAINER Drone.IO Community ENV GODEBUG=netdns=go diff --git a/Dockerfile.windows b/Dockerfile.windows index ae38483..57b8608 100644 --- a/Dockerfile.windows +++ b/Dockerfile.windows @@ -1,5 +1,4 @@ FROM microsoft/nanoserver:latest -MAINTAINER Drone.IO Community ENV GODEBUG=netdns=go